473,835 Members | 2,264 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

TopMost

Does anyone know a way of making an item the highest form ? (eg nothing can
go above it, stays on top ?)

I have used the
TopMost = True

But if users hit the Start Button, it then goes over the top. Anyway of
keeping it higher or another way around the problem ?


Nov 20 '05 #1
3 1314
Of course the startmenu goes ontop, that's the nature of the OS.

Are you don't what use to ust the start menu when you app is running?
Regards
Brian W
"Jason Garland (Secure Access Pty Ltd)" <Ja**@SecureAcc ess.Com.Au> wrote in
message news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Does anyone know a way of making an item the highest form ? (eg nothing can go above it, stays on top ?)

I have used the
TopMost = True

But if users hit the Start Button, it then goes over the top. Anyway of
keeping it higher or another way around the problem ?


Nov 20 '05 #2
Basically while app is running, i want to get rid of
the task bar and the start menu
"Brian W" <brianw@gold_de ath_2_spam_rush .com> wrote in message
news:e3******** ******@TK2MSFTN GP10.phx.gbl...
Of course the startmenu goes ontop, that's the nature of the OS.

Are you don't what use to ust the start menu when you app is running?
Regards
Brian W
"Jason Garland (Secure Access Pty Ltd)" <Ja**@SecureAcc ess.Com.Au> wrote in message news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Does anyone know a way of making an item the highest form ? (eg nothing

can
go above it, stays on top ?)

I have used the
TopMost = True

But if users hit the Start Button, it then goes over the top. Anyway of
keeping it higher or another way around the problem ?



Nov 20 '05 #3
Not sure that is possible, since, as I said, that defeats the nature of the
OS. In addition, any attempt to change the expefted behavior is likely to
piss off you users.

Having said that, After setting TopMost=true, you could aways respond to the
Deactivate event and bring the windows to front again.

See also, if the SetForgroundWin dow() API would help you.
HTH
Brian W

"Jason Garland (Secure Access Pty Ltd)" <Ja**@SecureAcc ess.Com.Au> wrote in
message news:up******** ******@TK2MSFTN GP09.phx.gbl...
Basically while app is running, i want to get rid of
the task bar and the start menu
"Brian W" <brianw@gold_de ath_2_spam_rush .com> wrote in message
news:e3******** ******@TK2MSFTN GP10.phx.gbl...
Of course the startmenu goes ontop, that's the nature of the OS.

Are you don't what use to ust the start menu when you app is running?
Regards
Brian W
"Jason Garland (Secure Access Pty Ltd)" <Ja**@SecureAcc ess.Com.Au> wrote

in
message news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Does anyone know a way of making an item the highest form ? (eg nothing
can
go above it, stays on top ?)

I have used the
TopMost = True

But if users hit the Start Button, it then goes over the top. Anyway

of keeping it higher or another way around the problem ?




Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
6855
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
7864
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?
12
7548
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
2
3842
by: Max | last post by:
Hello, My VB.NET application displays a Windows form in a panel on my main form. While my application has the focus, I want the form in the panel to have the "topmost" position, even if it is not the active form. Everything works as expected, but if the user selects another application by pressing a tab in the taskbar, then my "topmost" form still occupies the "topmost"
1
2033
by: SamSpade | last post by:
I learned about the TopMost property from a recent post which solved some problems. But I have a situation where a control wants to make the form it is on be the topmost. It could raise an event but be cleaner if it could do it directly. I tried the following but the compiler thinks Parent is a control (they don't have a topmost property.)
6
4758
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...
2
1859
by: facicad | last post by:
I would like to set topmost another prog. from my program. Ex: I use AutoCAD, run my prog. from autocad. My prog. is topmost but went I would like to pick some object in autocad, I set TopMost to false and I would like to autocad bring to front, but for autocad object, it not have TopMost properties
6
1945
by: Jonathan | last post by:
Hi, I have a parent(container) form which opens another form, and that one opens another etc.., each form is open with Form.MdiParent = Me.MdiParent. (apart from the first one which is just "= Me") However, there is one form which is smaller than others, and i have set it to Topmost = TRUE. but the problem is when i click those forms at the background, the smaller
1
2597
by: Phil Galey | last post by:
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...
1
2046
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.
0
9652
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
10811
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...
1
10560
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9345
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
7766
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
6966
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5636
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5804
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3993
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.