VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Keep a window always on top of other To keep your form always on top call the SetWindowOnTop Me, Tr

Thomas Kaloyani  (1 Submission)   Windows API Call/Explanation   VB 6.0   Unknown Difficulty   Fri 4th August 2006   Mon 8th February 2021

Keep a window always on top of other To keep your form always on top call the SetWindowOnTop Me, True and to deactivate the always on top of

API Declarations


Private Const HWND_NOTOPMOST = -2
Private Const SWP_NOACTIVATE = &H10
Private Const SWP_SHOWWINDOW = &H40

Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, _
ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, _
ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long


Rate Keep a window always on top of other To keep your form always on top call the SetWindowOnTop Me, Tr (1(1 Vote))
Keep a window always on top of other To keep your form always on top call the SetWindowOnTop Me, Tr.bas

Keep a window always on top of other To keep your form always on top call the SetWindowOnTop Me, Tr Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters