Always on top?

Blitz3D Forums/Blitz3D Programming/Always on top?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Right - I found a solution myself. If you use User32.dll, there is a command called "SetWindosPos".

Adding the following line to "User32.decls" will allow you to use it:

User32_SetWindowPos%(hwnd1%, hwnd2%, x%, y%, cx%, cy%, uflags% ): "SetWindowPos"

Then, after initially displaying the window, call the function with "hwnd2" set to -1.

That will make the window "always on top".

:)