Is if possible to grap the CreateWindow Message in VB?
If so, example would be appreciated.
Thanks
Printable View
Is if possible to grap the CreateWindow Message in VB?
If so, example would be appreciated.
Thanks
Do you mean to call CreateWindow?
VB Code:
Public Declare Function CreateWindow Lib "user32" Alias "CreateWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String, ByVal dwStyle As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hWndParent As Long, ByVal hMenu As Long, ByVal hInstance As Long, lpParam As Any) As Long
CreateWindow is a API Function, not a message.
Do you mean the WM_CREATE message. If so then just subclassing the form should work.