Uwe Gabbert schrieb:
I have a small WinForm. The form must always stay on Top. Such as
Taskbar or Sidebar.
Set Form.TopMost = True. To limit the desktops workarea as the taskbar
does use p/invoke SystemParametersInfo + SPI_SETWORKAREA. Before you
do that your form have to be located in the area you want to lock for
other windows, must not be sized or moved after you changed the size
for the workarea.
Thorsten Doerfler
--
Microsoft MVP Visual Basic
vb-hellfire visual basic faq | vb-hellfire - einfach anders
http://vb-faq.de/ |
http://www.vb-hellfire.de/