home *** CD-ROM | disk | FTP | other *** search
- Option Explicit
-
- 'constants for mouse pointer
- Global Const HOURGLASS = 11
- Global Const DEFAULT = 0
-
-
- 'declarations and constants for controlling list and text boxs
- Declare Function SendMessageByNum% Lib "USER" Alias "SendMessage" (ByVal hWnd%, ByVal wMsg%, ByVal wParam%, ByVal lParam As Long)
- Declare Function SendMessageByString% Lib "USER" Alias "SendMessage" (ByVal hWnd%, ByVal wMsg%, ByVal wParam%, ByVal lParam As String)
- Global Const WM_SETREDRAW = &HB
- Global Const WM_USER = &H400
- Global Const LB_ADDSTRING = (WM_USER + 1)
- Global Const EM_GETLINECOUNT = (WM_USER + 10)
- Global Const EM_LINEINDEX = (WM_USER + 11)
- Global Const LB_FINDSTRING = (WM_USER + 16)
- Global Const LB_SETTOPINDEX = (WM_USER + 24)
-
-
- 'declarations and constants for help engine
- Declare Function WinHelp% Lib "User" (ByVal hWnd%, ByVal lpHelpFile$, ByVal wCommand%, dwData As Any)
- Global Const HELP_INDEX = &H3
- Global Const HELP_QUIT = &H2
-
-
- 'declarations and constants for logo animation
- Declare Function BitBlt% Lib "GDI" (ByVal hDestDC%, ByVal X%, ByVal Y%, ByVal nWidth%, ByVal nHeight%, ByVal hSrcDC%, ByVal XSrc%, ByVal YSrc%, ByVal dwRop&)
- Global Const SRCCOPY = &HCC0020
- Global Const MINIMIZED = 1
-
- 'declarations and constants for activating windows
- Declare Function FindWindowByClass% Lib "User" Alias "FindWindow" (ByVal lpClassName$, ByVal lpWindowName&)
- Declare Function FindWindowByTitle% Lib "User" Alias "FindWindow" (ByVal lpClassName&, ByVal lpWindowName$)
- Declare Function ShowWindow% Lib "User" (ByVal hWnd%, ByVal nCmdShow%)
- Global Const SW_SHOWNOACTIVATE = 4
-
- 'flag to hold logo screen active state
- Global AboutLoaded As Integer
-
- 'flag to indicate button added to VB toolbar
- Global BtnLoaded As Integer
-
- Sub Center_Form (vbf As Form)
- vbf.Move (Screen.Width - vbf.Width) \ 2, (Screen.Height - vbf.Height) \ 2
- End Sub
-
-