home *** CD-ROM | disk | FTP | other *** search
- ' Windows API calls for creating Topmost window
- Declare Function SetWindowPos Lib "User" (ByVal h%, ByVal hb%, ByVal x%, ByVal y%, ByVal cx%, ByVal cy%, ByVal f%) As Integer
- Global Const SWP_NOMOVE = 2
- Global Const SWP_NOSIZE = 1
- Global Const FLAGS = SWP_NOMOVE Or SWP_NOSIZE
- Global Const HWND_TOPMOST = -1
- Global Const HWND_NOTOPMOST = -2
-
- Declare Function FindWindow Lib "User" (ByVal lpClassName As Any, ByVal lpWindowName As Any) As Integer
- Declare Function SendMessage Lib "User" (ByVal hWnd As Integer, ByVal wMsg As Integer, ByVal wParam As Integer, lParam As Any) As Long
-
- Global Const WM_SYSCOMMAND = &H112
- Global Const SC_RESTORE = &HF120
-
- Global Const AppVersion = "1.4"
- Global Const VBVer = "3.0"
- Global Const LastAppUpdate = "1/6/95"
-
- Type BookAuthor
- ID As Integer
- Name As String * 25
- End Type
-
-
- ' MousePointer
- Global Const DEFAULT = 0 ' 0 - Default
- Global Const ARROW = 1 ' 1 - Arrow
- Global Const CROSSHAIR = 2 ' 2 - Cross
- Global Const IBEAM = 3 ' 3 - I-Beam
- Global Const ICON_POINTER = 4 ' 4 - Icon
- Global Const SIZE_POINTER = 5 ' 5 - Size
- Global Const SIZE_NE_SW = 6 ' 6 - Size NE SW
- Global Const SIZE_N_S = 7 ' 7 - Size N S
- Global Const SIZE_NW_SE = 8 ' 8 - Size NW SE
- Global Const SIZE_W_E = 9 ' 9 - Size W E
- Global Const UP_ARROW = 10 ' 10 - Up Arrow
- Global Const HOURGLASS = 11 ' 11 - Hourglass
- Global Const NO_DROP = 12 ' 12 - No drop
-
- ' WindowState
- Global Const NORMAL = 0 ' 0 - Normal
- Global Const MINIMIZED = 1 ' 1 - Minimized
- Global Const MAXIMIZED = 2 ' 2 - Maximized
-
- ' Check Value
- Global Const UNCHECKED = 0 ' 0 - Unchecked
- Global Const CHECKED = 1 ' 1 - Checked
- Global Const GRAYED = 2 ' 2 - Grayed
-
- ' Function Parameters
- ' MsgBox parameters
- Global Const MB_OK = 0 ' OK button only
- Global Const MB_OKCANCEL = 1 ' OK and Cancel buttons
- Global Const MB_ABORTRETRYIGNORE = 2 ' Abort, Retry, and Ignore buttons
- Global Const MB_YESNOCANCEL = 3 ' Yes, No, and Cancel buttons
- Global Const MB_YESNO = 4 ' Yes and No buttons
- Global Const MB_RETRYCANCEL = 5 ' Retry and Cancel buttons
-
- Global Const MB_ICONSTOP = 16 ' Critical message
- Global Const MB_ICONQUESTION = 32 ' Warning query
- Global Const MB_ICONEXCLAMATION = 48 ' Warning message
- Global Const MB_ICONINFORMATION = 64 ' Information message
-
- Global Const MB_APPLMODAL = 0 ' Application Modal Message Box
- Global Const MB_DEFBUTTON1 = 0 ' First button is default
- Global Const MB_DEFBUTTON2 = 256 ' Second button is default
- Global Const MB_DEFBUTTON3 = 512 ' Third button is default
- Global Const MB_SYSTEMMODAL = 4096 'System Modal
-
- ' MsgBox return values
- Global Const IDOK = 1 ' OK button pressed
- Global Const IDCANCEL = 2 ' Cancel button pressed
- Global Const IDABORT = 3 ' Abort button pressed
- Global Const IDRETRY = 4 ' Retry button pressed
- Global Const IDIGNORE = 5 ' Ignore button pressed
- Global Const IDYES = 6 ' Yes button pressed
- Global Const IDNO = 7 ' No button pressed
-
-