VS.NET Replace Window-Like Behavior
-
I am wanting to setup a window in an application I am working on that behaves similar to the Find and Replace windows in Visual Studio where the modeless dialog remains above the main application's window at all times not covering other application's windows. I have tried the
TopMost
property, but it overlaps other application windows as well which I don't want. Is there a way to implement a topmost-like behavior that doesn't overlap other applications' windows? :confused: Thanks in advance. :)
John 3:16: "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life."
-
I am wanting to setup a window in an application I am working on that behaves similar to the Find and Replace windows in Visual Studio where the modeless dialog remains above the main application's window at all times not covering other application's windows. I have tried the
TopMost
property, but it overlaps other application windows as well which I don't want. Is there a way to implement a topmost-like behavior that doesn't overlap other applications' windows? :confused: Thanks in advance. :)
John 3:16: "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life."
Im not 100% sure but I think setting the Owner property of the dialog to your application main form should do it.
-
Im not 100% sure but I think setting the Owner property of the dialog to your application main form should do it.