By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,234 Members | 1,869 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,234 IT Pros & Developers. It's quick & easy.

Problem with TopMost Functionality in VB.NET

P: n/a
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.
Mar 24 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Phil Galey" <pa*****@starcalif.com.nospam> schrieb
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.

What if the other application wants to be topmost, too? Which one is more
topmost? All topmost windows have their own z-order.

Look for "z-order" or "topmost" here:
http://msdn.microsoft.com/library/en...owfeatures.asp
Armin

Mar 25 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.