Page 1 of 1

Posted: Wed Sep 25, 2002 6:59 am
by BackupUser
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

Posted: Wed Sep 25, 2002 8:55 am
by BackupUser
Restored from previous forum. Originally posted by Berikco.

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) 
Maybe you can ad the flag #HWND_TOPMOST in the open command, just try

Regards,

Berikco

http://www.benny.zeb.be