Restored from previous forum. Originally posted by halo.
I want to write a DLL to set the Blitz window z order so it isn't on top of everything. How would I get the Blitz window and set its z order? Please be explicit, I am new to PB.
By the way, Mark says he's going to fix the DLL problem. I'm glad we got to the bottom of that.
Thanks.
Set window z order?
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Justin.
Look at the SetWindowPos api, search for it at:
http://msdn.microsoft.com/
maybe you will have to pass the blitz window handle to the dll.
Look at the SetWindowPos api, search for it at:
http://msdn.microsoft.com/
maybe you will have to pass the blitz window handle to the dll.
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
> [...] to set the Blitz window z order so it isn't on top of everything.
To set a window so that it's not always on top, use the following:
PB - Registered PureBasic Coder
> [...] to set the Blitz window z order so it isn't on top of everything.
To set a window so that it's not always on top, use the following:
Code: Select all
; hWnd = Handle of window in question. You can find it like so:
; hWnd=FindWindow_(0, "window title")
SetWindowPos_(hWnd,#HWND_NOTOPMOST,0,0,0,0,#SWP_NOMOVE|#SWP_NOSIZE)
PB - Registered PureBasic Coder