|
|
CODE Private Declare PtrSafe Function GetWindowText Lib "user32" Alias "GetWindowTextA" ( _
ByVal hWnd As LongPtr, _ ByVal lpString As String, _ ByVal cch As Long _ ) As Long 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: GetWindowText
|
| This page was last modified 17:34, 18 May 2011. This page has been accessed 325 times. Disclaimers |