home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / bp_2_94 / vbwin / apivsvb / const.bas < prev   
BASIC Source File  |  1993-10-25  |  972b  |  25 lines

  1. Option Explicit
  2. ' MousePointer
  3. Global Const DEFAULT = 0        ' 0 - Default
  4. Global Const HOURGLASS = 11     ' 11 - Hourglass
  5.  
  6. ' Function Parameters
  7. ' MsgBox parameters
  8. Global Const MB_OK = 0                 ' OK button only
  9. Global Const MB_OKCANCEL = 1           ' OK and Cancel buttons
  10. Global Const MB_YESNO = 4              ' Yes and No buttons
  11. Global Const MB_ICONQUESTION = 32      ' Warning query
  12.  
  13. ' MsgBox return values
  14. Global Const IDOK = 1                  ' OK button pressed
  15. Global Const IDYES = 6                 ' Yes button pressed
  16.  
  17. Global Const WM_USER = &H400
  18. Global Const LB_FINDSTRING = (WM_USER + 16)
  19.  
  20. 'API-Funktionen
  21. Declare Function LockWindowUpdate Lib "USER" (ByVal hwnd As Integer) As Integer
  22. Declare Function SendMessage& Lib "user" (ByVal hwnd%, ByVal wMsg%, ByVal wParam%, ByVal lParam As Any)
  23. Declare Function SendMessageBystring& Lib "user" Alias "sendMessage" (ByVal hwnd%, ByVal wMsg%, ByVal wParam%, ByVal lParam$)
  24.  
  25.