[MAXGUI] Window always on top?

BlitzMax Forums/BlitzMax Programming/[MAXGUI] Window 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.

Hi!

I'm currently using these two functions to set the window flag to "always on top".

Function WinalwaysOnTop(hWnd:Long)
SetWindowPos( hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOSIZE + SWP_NOMOVE )
End Function

Function WinnotAlwaysOnTop(hWnd:Long)
SetWindowPos( hWnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOSIZE + SWP_NOMOVE )
End Function

The problem is that when I use tooltips in maxgui listboxes they no longer show up / shop up behind the listbox. So one can't read the text.

Is there a better way of locking the gui app window on top?

Thanks, Grisu