UtterAccess HomeUtterAccess Wiki

Welcome Guest ( Log In | Register )

Custom Search
Edit Discussion
> GetWindowRect    
Private Type RECT
   Left As Long
   Top As Long
   Right As Long
   Bottom As Long
End Type

Private Declare PtrSafe Function GetWindowRect Lib "user32" ( _
   ByVal hWnd As LongPtr, _
   lpRect As RECT _
) 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: GetWindowRect
See other pages that uses GetWindowRect

Edit Discussion
Custom Search

Thank you for your support!
This page has been accessed 3,752 times.  This page was last modified 13:46, 14 May 2011 by BananaRepublic.   Disclaimers