VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Dragging a form by a control

VB Pro  (6 Submissions)   Custom Controls/Forms/Menus   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

This code is reusable and small enough to paste into whatever you're doing and instantly have a form that has no need for a title bar.

API Declarations
In the general declarations section, insert these lines:

Declare Sub ReleaseCapture Lib "User" ()
Declare Function SendMessage _
Lib "User" (ByVal hWnd As Integer, _
ByVal wMsg As Integer, _
ByVal wParem As Integer, lParem As Any) As Long


Rate Dragging a form by a control (38(38 Vote))
Dragging a form by a control.bas

Dragging a form by a control Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters