VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



BEGGINER Form On Top

by Demian Net (14 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

Puts Your form on top.

API Declarations
'Put this in a module
Public Sub FormOnTop(FormName As Form)
Call SetWindowPos(FormName.hwnd, HWND_TOPMOST, 0&, 0&, 0&, 0&, FLAGS)
End Sub
Public Sub FormNotOnTop(FormName As Form)
Call SetWindowPos(FormName.hwnd, HWND_NOTOPMOST, 0&, 0&, 0&, 0&, FLAGS)
End Sub

Rate BEGGINER Form On Top

'To make your form on top:
FormOnTop Form1
'To take you off off of on top:
FormNotOnTop Form1

Download this snippet    Add to My Saved Code

BEGGINER Form On Top Comments

No comments have been posted about BEGGINER Form On Top. Why not be the first to post a comment about BEGGINER Form On Top.

Post your comment

Subject:
Message:
0/1000 characters