Wizard001 Posted July 19, 2005 Posted July 19, 2005 How to do in Visual C# that few windows (for example tools window, drawing window and etc.) will be active at same time. Quote
Machaira Posted July 19, 2005 Posted July 19, 2005 Only one window can have focus at a time. Quote Here's what I'm up to.
jmcilhinney Posted July 20, 2005 Posted July 20, 2005 As Machaira says, you can only have one active window. If you mean how can you stop those windows disappearing behind the main window, like the Visual Studio Find and Replace dialogue, you need to make them modeless dialogues by using code like this:Dim myDialogue As New Form Me.AddOwnedForm(myDialogue) 'or myDialogue.Owner = Me myDialogue.Show()If you do this, whenever the main window is active the dialogue will still be in front of it, even if it's not active itself. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.