473,769 Members | 3,840 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_Deactivat e 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 2593
"Phil Galey" <pa*****@starca lif.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_Deactivat e 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
2540
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 rotated too when receiving these coordinates. How would I go about setting methods to A>"order" them (so that when i trace the outsides, point A,B,C,D all are continous, as opposed to crossing in the "middle"... B> testing that they are equal sides...
1
6202
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., I'm reading: "On Windows, ... -topmost gets or sets whether this is a topmost window (displays above all other windows)." Therefore my simple code is:
2
6852
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 application running on my PC, Does anybody know How can I prevent this TopMost window appear when I switch to the other applications?? _______________________ JaguarX
3
7863
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 TopMost property does not working. How can I set the one form as a topmost? Can anyone send me code example?
2
4564
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 error or confirmation messagebox. If this window is the Active/Selected window then the messagebox appears in front of it ok. If I click on another application before the messageboxes are generated, then they appear and are hidden behind the topmost...
12
7538
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 public sub I'm doing: Public Sub ThisIsMySub(TheseAreMyArguments) Me.Show Me.WindowState = FormWindowState.Normal Me.TopMost = True
6
4752
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 form it stays on top as it should, but sometimes TopMost property does not pick up so if I click to some other program it covers the form which supposed to remain on the top. Has anyone experienced similar problems? is there a fix? or I am...
1
2045
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 dialog box. Is there a way of determining if the application is TopMost from a static method? There are some inelegant workarounds but I would prefer to do whatever MessageBox does.
2
1935
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 catch more eyes and find someone who had the same problem and solved it or has more information about it. This is a summary of my problem:
0
9579
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9422
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10206
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10035
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9851
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8863
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7403
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5441
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3949
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.