VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



TiResize ActiveX Control

by Stuart Naylor (2 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (6 Votes)

Resize controls in the same manner as the IDE at runtime

Side Effects
I haven't tried it but can someone see if scroll bars cause problems?
API Declarations
Public Declare Function ReleaseCapture Lib "user32" () As Long
Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, _
ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
'API Declarations used for subclassing.
Public Declare Sub CopyMemory _
Lib "kernel32" Alias "RtlMoveMemory" _
(pDest As Any, _
pSrc As Any, _
ByVal ByteLen As Long)
Public Declare Function SetWindowLong _
Lib "user32" Alias "SetWindowLongA" _
(ByVal hWnd As Long, _
ByVal nIndex As Long, _
ByVal dwNewLong As Long) As Long
Public Declare Function GetWindowLong _
Lib "user32" Alias "GetWindowLongA" _
(ByVal hWnd As Long, _
ByVal nIndex As Long) As Long
Public Declare Function CallWindowProc _
Lib "user32" Alias "CallWindowProcA" _
(ByVal lpPrevWndFunc As Long, _
ByVal hWnd As Long, _
ByVal Msg As Long, _
ByVal wParam As Long, _
ByVal lParam As Long) As Long

Public Declare Function ChildWindowFromPoint _
Lib "user32" (ByVal hWnd As Long, ByVal xPoint As Long, _
ByVal yPoint As Long) As Long

Rate TiResize ActiveX Control

Download TiResize ActiveX Control

Download TiResize ActiveX Control (13 KB)

TiResize ActiveX Control Comments

No comments have been posted about TiResize ActiveX Control. Why not be the first to post a comment about TiResize ActiveX Control.

Post your comment

Subject:
Message:
0/1000 characters