473,320 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Problem with TopMost Functionality in VB.NET

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
1 2565
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: David E. | last post by:
Here's somewhat of an interesting problem. I am creating a class called Rectangle. It takes in 4 sets of Cartesian coordinates (i.e. (x,y) coordinates.). I'm assuming that the rectangle can be...
1
by: george | last post by:
Greetings to all experts. I'm running Python 2.3/Pythonwin 1.63 on Windows 98. I would like to create a window with Tkinter, that is always on top of the screen. In Tkinter.py, Line 1375 f.,...
2
by: JaguarX | last post by:
I have an application that needs a window to stay on top of the other ones, I thought that TopMost = true would be suitable for this feature but it also makes this window to stay on top of all other...
3
by: Hovhannes Asatryan | last post by:
Hello guys. I have a problem with a topmost form. I am writting in C#. I have Mdi Form wich has 2 child forms. I want to set one of them as a topmost window, but when I sets MdiParent the...
2
by: Claire | last post by:
I need my communication status window to be topmost when it's open/active. Ive set the TopMost property of the form to true and it does work ok. After performing tasks this window generates an...
12
by: E Goforth | last post by:
Hello, I have a VB6 app that calls a VB.NET app via named pipes and a third party component. Inside the VB.NET app I'm trying to force a form to the top, at least temporarily. Inside a form's...
6
by: Strahimir Antoljak | last post by:
I'm running VS.NET 2002 and keep having problems with form keeping on top with its TopMost property. Sometimes my program places the invoked form on top sometimes not. Sometimes when I click on the...
1
by: Gary Brown | last post by:
Hi, I have a dialog box that must behave as MessageBox does with regard to the TopMost property. It must be TopMost if and only if the calling form is TopMost. A static method creates the...
2
by: =?Utf-8?B?aGVsZmk=?= | last post by:
Hi all, I have replied with my own questions to an older post entry but after a while I thought it's better to start a new thread based on the previous one. Perhaps with the new thread I will...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.