home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / sys_util / moduleap / global.bas < prev    next >
Encoding:
BASIC Source File  |  1991-07-13  |  865 b   |  16 lines

  1. Declare Function GetModuleFileName Lib "kernel" (ByVal hModule%, ByVal FileName$, ByVal FileNameSize%) As Integer
  2. Declare Function GetModuleUsage Lib "kernel" (ByVal hModule%) As Integer
  3. Declare Function GetClassWord Lib "user" (ByVal hWnd%, ByVal nIndex%) As Integer
  4. Declare Function GetWindow Lib "user" (ByVal hWnd%, ByVal wCmd%) As Integer
  5. Declare Function GetParent Lib "User" (ByVal hWnd%) As Integer
  6. Declare Function GetWindowText Lib "User" (ByVal hWnd%, ByVal WindowText$, ByVal WindowTextLength%) As Integer
  7. Declare Function GetWindowTextLength Lib "user" (ByVal hWnd%) As Integer
  8. Declare Sub SetWindowText Lib "user" (ByVal hWnd%, ByVal WindowText$)
  9. Declare Function SetActiveWindow Lib "user" (ByVal hWnd%) As Integer
  10.  
  11. Global Const GCW_HMODULE = (-16)
  12. Global Const GW_OWNER = 4
  13. Global Const GW_HWNDNEXT = 2
  14. Global Const GW_HWNDFIRST = 0
  15.  
  16.