|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Problem with TopMost Functionality in VB.NETI have a small application, which is to always stay on top. Another
application, which it is supposed to stay on top of, is QuarkXPress 5. I'm using Me.TopMost = True in the Form1_Deactivate event, and it works almost perfectly. It always stays on top, except when I click on one of the tools in the floating tool bar of QuarkXPress. Anything else in QuarkXPress is no problem ... document, menus, etc. But click on anything on QuarkXpress' floating toolbar, and my VB.NET application says bye-bye. What event might I use in this situation to stop it from losing it's TopMost position? Thanks. "Phil Galey" <paga***@starcalif.com.nospam> schrieb What if the other application wants to be topmost, too? Which one is more > I have a small application, which is to always stay on top. Another > application, which it is supposed to stay on top of, is QuarkXPress > 5. I'm using Me.TopMost = True in the Form1_Deactivate event, and > it works almost perfectly. It always stays on top, except when I > click on one of the tools in the floating tool bar of QuarkXPress. > Anything else in QuarkXPress is no problem ... document, menus, etc. > But click on anything on QuarkXpress' floating toolbar, and my > VB.NET application says bye-bye. > > What event might I use in this situation to stop it from losing it's > TopMost position? Thanks. topmost? All topmost windows have their own z-order. Look for "z-order" or "topmost" here: http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowfeatures.asp Armin |
|||||||||||||||||||||||