dw85745
Aug 17th, 2001, 03:57 PM
Is if possible to grap the CreateWindow Message in VB?
If so, example would be appreciated.
Thanks
Microbasic
Aug 17th, 2001, 09:45 PM
Do you mean to call CreateWindow?
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.
Vlatko
Aug 18th, 2001, 05:54 AM
Do you mean the WM_CREATE message. If so then just subclassing the form should work.