home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Tool Box
/
SIMS_2.iso
/
bp_2_94
/
vbwin
/
apivsvb
/
const.bas
< prev
Wrap
BASIC Source File
|
1993-10-25
|
972b
|
25 lines
Option Explicit
' MousePointer
Global Const DEFAULT = 0 ' 0 - Default
Global Const HOURGLASS = 11 ' 11 - Hourglass
' Function Parameters
' MsgBox parameters
Global Const MB_OK = 0 ' OK button only
Global Const MB_OKCANCEL = 1 ' OK and Cancel buttons
Global Const MB_YESNO = 4 ' Yes and No buttons
Global Const MB_ICONQUESTION = 32 ' Warning query
' MsgBox return values
Global Const IDOK = 1 ' OK button pressed
Global Const IDYES = 6 ' Yes button pressed
Global Const WM_USER = &H400
Global Const LB_FINDSTRING = (WM_USER + 16)
'API-Funktionen
Declare Function LockWindowUpdate Lib "USER" (ByVal hwnd As Integer) As Integer
Declare Function SendMessage& Lib "user" (ByVal hwnd%, ByVal wMsg%, ByVal wParam%, ByVal lParam As Any)
Declare Function SendMessageBystring& Lib "user" Alias "sendMessage" (ByVal hwnd%, ByVal wMsg%, ByVal wParam%, ByVal lParam$)