TopMost

  • Thread starter Thread starter Jason Garland \(Secure Access Pty Ltd\)
  • Start date Start date
J

Jason Garland \(Secure Access Pty Ltd\)

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 ?
 
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
 
Basically while app is running, i want to get rid of
the task bar and the start menu
 
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 SetForgroundWindow() API would help you.


HTH
Brian W
 
Back
Top