Welcome to Dream.In.Code
Getting C# Help is Easy!

Join 135,916 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 2,586 people online right now. Registration is fast and FREE... Join Now!




making a form top level

 
Reply to this topicStart new topic

making a form top level

itpro4470
20 May, 2008 - 11:49 AM
Post #1

D.I.C Head
Group Icon

Joined: 17 Jun, 2007
Posts: 118



Thanked: 1 times
Dream Kudos: 25
My Contributions
I have been searching for an answer for a while but I can't seem to find anything on it. I've built a web crawler that will warn the user when a variable is above a certain threshold. I can get the new form to be toplevel for my program but it is popping up behind other open applications. Is there a way to get it to pop up infront of all running applications?
User is offlineProfile CardPM
+Quote Post

zakary
RE: Making A Form Top Level
20 May, 2008 - 11:57 AM
Post #2

D.I.C Regular
Group Icon

Joined: 15 Feb, 2005
Posts: 404



Thanked: 6 times
Dream Kudos: 175
My Contributions
did you try this.BringToFront(); in your form constructor
User is online!Profile CardPM
+Quote Post

itpro4470
RE: Making A Form Top Level
20 May, 2008 - 12:28 PM
Post #3

D.I.C Head
Group Icon

Joined: 17 Jun, 2007
Posts: 118



Thanked: 1 times
Dream Kudos: 25
My Contributions
QUOTE(zakary @ 20 May, 2008 - 12:57 PM) *

did you try this.BringToFront(); in your form constructor


cool thanks...I'm going to go bang my head on the wall now.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 08:00AM

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month