473,778 Members | 1,958 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 1313
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
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?
12
7539
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
3840
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
2030
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
4755
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
1858
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
1942
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
2594
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
9629
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
10298
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
10127
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...
1
10069
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,...
1
7475
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
5370
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...
1
4033
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
2
3627
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2865
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.