Restored from previous forum. Originally posted by WolfgangS.
How can i open a window which is always on top of the other windows ?
Probably i have to set an API flag. I think that would be also nice as a PB - OpenWindow() flag. Whats your opinion ??
MFG
:)WolfgangS
Window always on top
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Berikco.
Maybe you can ad the flag #HWND_TOPMOST in the open command, just try
Regards,
Berikco
http://www.benny.zeb.be
Code: Select all
hwnd= OpenWindow(1, 200, 100, 673, 155 ,#PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget| #PB_Window_SizeGadget,"PB Window 1")
setwindowpos_(hwnd,#HWND_TOPMOST,0,0,0,0,#SWP_NOSIZE |#SWP_NOMOVE)
Regards,
Berikco
http://www.benny.zeb.be