VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Keeping a Window on Top

by Manish Kumar Das (1 Submission)
Category: Windows API Call/Explanation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 16th September 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Keeping a Window on Top

API Declarations



Const HWND_TOPMOST = -1
Const SWP_SHOWWINDOW = &H40

Rate Keeping a Window on Top



dim retVal As long
retVal = SetWindowPos(Me.hWnd, HWND_TOPMOST, Me.CurrentX, me.CurrentY, 300, 300, SWP_SHOWWINDOW)
End sub 


Download this snippet    Add to My Saved Code

Keeping a Window on Top Comments

No comments have been posted about Keeping a Window on Top. Why not be the first to post a comment about Keeping a Window on Top.

Post your comment

Subject:
Message:
0/1000 characters