|
|
CODE Private Declare PtrSafe Function CreateWindowEx Lib "user32" Alias "CreateWindowExA" ( _
ByVal dwExStyle As Long, _ 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 LongPtr, _ ByVal hMenu As LongPtr, _ ByVal hInstance As LongPtr, _ ByRef lpParam As LongPtr _ ) As LongPtr NOTE: The code reflects a possible number(s) of declarations. Depending on your specific needs, you may want different syntax. For details on how to declare an API procedure, consult API article. For pre-VBA7 (pre-Access 2010) compatible syntax, there are several sites that already documents the same API in more details. ALLAPI at mentalis.org is one such resource. MSDN Reference: CreateWindowEx
|
| This page was last modified 16:49, 14 May 2011. This page has been accessed 467 times. Disclaimers |