$IFNDEF __RQINC
$DEFINE __RQINC
$DEFINE __QBCOLOR
CONST False = 0
CONST True = 1
CONST alNone = 0
CONST alTop = 1
CONST alBottom = 2
CONST alLeft = 3
CONST alRight = 4
CONST alClient = 5
CONST taLeftJustify = 0
CONST taRightJustify = 1
CONST taCenter = 2
CONST SND_SYNC = 0
CONST SND_ASYNC = 1
CONST SND_LOOP = 8
CONST clBlack = 0
CONST clWhite = &HFFFFFF
CONST clBlue = &HFF0000
CONST clGreen = &H00FF00
CONST clRed = &H0000FF
CONST clPurple = &HFF00FF
CONST clScrollBar = -2147483648
CONST clBackGround = -2147483647
CONST clActiveCaption = -2147483646
CONST clInActiveCaption = -2147483645
CONST clMenu = -2147483644
CONST clWindow = -2147483643
CONST clWindowFrame = -2147483642
CONST clMenuText = -2147483641
CONST clWindowText = -2147483640
CONST clCaptionText = -2147483639
CONST clActiveBorder = -2147483638
CONST clInActiveBorder = -2147483637
CONST clAppWorkSpace = -2147483636
CONST clHilight = -2147483635
CONST clHilightText = -2147483634
CONST clBtnFace = -2147483633
CONST clBtnShadow = -2147483632
CONST clGrayText = -2147483631
CONST clBtnText = -2147483630
CONST clInActiveCaptionText = -2147483629
CONST clBtnHighlight = -2147483628
CONST cl3DDkShadow = -2147483627
CONST cl3DLight = -2147483626
CONST clInfoText = -2147483625
CONST clInfoBk3DDkShadow = -2147483624
CONST clNone = 536870911
CONST clDefault = 536870912
CONST ssShift = 256
CONST ssCtrl = 16
CONST ssAlt = 1
CONST mtWarning = 0
CONST mtError = 1
CONST mtInformation = 2
CONST mtConfirmation = 3
CONST mtCustom = 4
CONST mbYes = 1
CONST mbNo = 2
CONST mbOK = 4
CONST mbCancel = 8
CONST mbHelp = 16
CONST mbAbort = 32
CONST mbRetry = 64
CONST mbIgnore = 128
CONST mbAll = 256
CONST fsBold = 0
CONST fsItalic = 1
CONST fsUnderline = 2
CONST fsStrikeOut = 3
CONST fpDefault = 0
CONST fpVariable = 1
CONST fpFixed = 2
CONST ANSI_CHARSET = 0
CONST DEFAULT_CHARSET = 1
CONST SYMBOL_CHARSET = 2
CONST MAC_CHARSET = 77
CONST SHIFTJIS_CHARSET = 128
CONST HANGEUL_CHARSET = 129
CONST JOHAB_CHARSET = 130
CONST GB2312_CHARSET = 134
CONST CHINESEBIG5_CHARSET = 136
CONST GREEK_CHARSET = 161
CONST TURKISH_CHARSET = 162
CONST VIETNAMESE_CHARSET = 163
CONST HEBREW_CHARSET = 177
CONST ARABIC_CHARSET = 178
CONST BALTIC_CHARSET = 186
CONST RUSSIAN_CHARSET = 204
CONST THAI_CHARSET = 222
CONST EASTEUROPE_CHARSET = 238
CONST OEM_CHARSET = 255
CONST wsNormal = 0
CONST wsMinimized = 1
CONST wsMaximized = 2
CONST fsNormal = 0
CONST fsMDIChild = 1
CONST fsMDIForm = 2
CONST fsStayOnTop = 3
CONST bsNone = 0
CONST bsSingle = 1
CONST bsSizeable = 2
CONST bsDialog = 3
CONST bsToolWindow = 4
CONST bsSizeToolWin = 5
CONST CtrlDown = 1
CONST AltDown = 16
CONST ShiftDown = 256
CONST biSystemMenu = 0
CONST biMinimize = 1
CONST biMaximize = 2
CONST biHelp = 3
CONST caNone = 0
CONST caHide = 1
CONST caFree = 2
CONST caClose = caFree
CONST caMinimize = 3
CONST tlTop = 0
CONST tlCenter = 1
CONST tlBottom = 2
CONST lsNone = 0
CONST lsRaised = 1
CONST lsRecessed = 2
CONST bvNone = 0
CONST bvLowered = 1
CONST bvRaised = 2
CONST bpNone = 0
CONST bpSingle = 1
CONST ecNormal = 0
CONST ecUpperCase = 1
CONST ecLowerCase = 2
CONST csDropDown = 0
CONST csSimple = 1
CONST csDropDownList = 2
CONST csOwnerDrawFixed = 3
CONST csOwnerDrawVariable = 4
CONST fmCreate = 65535
CONST fmOpenRead = 0
CONST fmOpenWrite = 1
CONST fmOpenReadWrite = 2
CONST soFromBeginning = 0
CONST soFromCurrent = 1
CONST soFromEnd = 2
CONST Num_BYTE = 1
CONST Num_SHORT = 2
CONST Num_WORD = 3
CONST Num_LONG = 4
CONST Num_DWORD = 5
CONST Num_SINGLE = 6
CONST Num_DOUBLE = 8
CONST ssNone = 0
CONST ssHorizontal = 1
CONST ssVertical = 2
CONST ssBoth = 3
CONST mrNone = 0
CONST mrOK = 1
CONST mrCancel = 2
CONST mrAbort = 3
CONST mrRetry = 4
CONST mrIgnore = 5
CONST mrYes = 6
CONST mrNo = 7
CONST mrAll = 8
CONST mrNoToAll = 9
CONST mrYesToAll = 10
CONST blBMPLeft = 0
CONST blBMPRight = 1
CONST blBMPTop = 2
CONST blBMPBottom = 3
CONST bkCustom = 0
CONST bkOK = 1
CONST bkCancel = 2
CONST bkHelp = 3
CONST bkYes = 4
CONST bkNo = 5
CONST bkClose = 6
CONST bkAbort = 7
CONST bkRetry = 8
CONST bkIgnore = 9
CONST bkAll = 10
CONST crDefault = 0
CONST crNone = -1
CONST crArrow = -2
CONST crCross = -3
CONST crIBeam = -4
CONST crSize = -5
CONST crSizeNESW = -6
CONST crSizeNS = -7
CONST crSizeNWSE = -8
CONST crSizeWE = -9
CONST crUpArrow = -10
CONST crHourGlass = -11
CONST crDrag = -12
CONST crNoDrop = -13
CONST crHSplit = -14
CONST crVSplit = -15
CONST crMultiDrag = -16
CONST crSQLWait = -17
CONST crNo = -18
CONST crAppStart = -19
CONST crHelp = -20
CONST crHandPoint = -21
CONST ftReadOnly = 0
CONST ftHidden = 1
CONST ftSystem = 2
CONST ftVolumeID = 3
CONST ftDirectory = 4
CONST ftArchive = 5
CONST ftNormal = 6
CONST sbHorizontal = 0
CONST sbVertical = 1
CONST scLineUp = 0
CONST scLineDown = 1
CONST scPageUp = 2
CONST scPageDown = 3
CONST scPosition = 4
CONST scTrack = 5
CONST scTop = 6
CONST scBottom = 7
CONST scEndScroll = 8
CONST dsFocused = 0
CONST dsSelected = 1
CONST dsNormal = 2
CONST dsTransparent = 3
CONST itImage = 0
CONST itMask = 1
CONST stNone = 0
CONST stText = 2
CONST vsIcon = 0
CONST vsSmallIcon = 1
CONST vsList = 2
CONST vsReport = 3
CONST tbHorizontal = 0
CONST tbVertical = 1
CONST tmBottomRight = 0
CONST tmTopLeft = 1
CONST tmBoth = 2
CONST tsNone = 0
CONST tsAuto = 1
CONST tsManual = 2
CONST goFixedVertLine = 0
CONST goFixedHorzLine = 1
CONST goVertLine = 2
CONST goHorzLine = 3
CONST goRangeSelect = 4
CONST goDrawFocusSelected = 5
CONST goRowSizing = 6
CONST goColSizing = 7
CONST goRowMoving = 8
CONST goColMoving = 9
CONST goEditing = 10
CONST goTabs = 11
CONST goRowSelect = 12
CONST goAlwaysShowEditor = 13
CONST goThumbTracking = 14
CONST gcsList = 0
CONST gcsEllipsis = 1
CONST gcsNone = 2
CONST osText = 0
CONST osPlusMinusText = 1
CONST osPictureText = 2
CONST osPlusMinusPictureText = 3
CONST osTreeText = 4
CONST osTreePictureText = 5
CONST ooDrawTreeRoot = 0
CONST ooDrawFocusRect = 1
CONST ooDrawStretchBitmaps = 2
CONST gkText = 0
CONST gkHorizontalBar = 1
CONST gkVerticalBar = 2
CONST gkPie = 3
CONST gkNeedle = 4
CONST cmBlackness = 0
CONST cmDstInvert = 1
CONST cmMergeCopy = 2
CONST cmMergePaint = 3
CONST cmNotSrcCopy = 4
CONST cmNotSrcErase = 5
CONST cmPatCopy = 6
CONST cmPatInvert = 7
CONST cmPatPaint = 8
CONST cmSrcAnd = 9
CONST cmSrcCopy = 10
CONST cmSrcErase = 11
CONST cmSrcInvert = 12
CONST cmSrcPaint = 13
CONST cmWhiteness = 14
CONST pfDevice = 0
CONST pf1bit = 1
CONST pf4bit = 2
CONST pf8bit = 3
CONST pf15bit = 4
CONST pf16bit = 5
CONST pf24bit = 6
CONST pf32bit = 7
CONST tmAuto = 0
CONST tmFixed = 1
CONST lbStandard = 0
CONST lbOwnerDrawFixed = 1
CONST lbOwnerDrawVariable = 2
$IFDEF __COMPORT
CONST br110 = 0
CONST br300 = 1
CONST br600 = 2
CONST br1200 = 3
CONST br2400 = 4
CONST br4800 = 5
CONST br9600 = 6
CONST br14400 = 7
CONST br19200 = 8
CONST br38400 = 9
CONST br56000 = 10
CONST br57600 = 11
CONST br115200 = 12
CONST sbOneStopBit = 0
CONST sbOne5StopBits = 1
CONST sbTwoStopBits = 2
CONST prNone = 0
CONST prOdd = 1
CONST prEven = 2
CONST prMark = 3
CONST prSpace = 4
$ENDIF
CONST fdAnsiOnly = 0
CONST fdTrueTypeOnly = 1
CONST fdEffects = 2
CONST fdFixedPitchOnly = 3
CONST fdForceFontExist = 4
CONST fdNoFaceSel = 5
CONST fdNoOEMFonts = 6
CONST fdNoSimulations = 7
CONST fdNoSizeSel = 8
CONST fdNoStyleSel = 9
CONST fdNoVectorFonts = 10
CONST fdShowHelp = 11
CONST fdWysiwyg = 12
CONST fdLimitSize = 13
CONST fdScalableOnly = 14
CONST fdApplyButton = 15
CONST dtReadOnly = 0
CONST dtHidden = 1
CONST dtSystem = 2
CONST dtNormal = 3
CONST dtAll = 4
CONST drtUnknown = 0
CONST drtRemovable = 1
CONST drtFixed = 2
CONST drtRemote = 3
CONST drtCDRom = 4
CONST drtRamDisk = 5
CONST IPPROTO_IP = 0
CONST IPPROTO_ICMP = 1
CONST IPPROTO_IGMP = 2
CONST IPPROTO_TCP = 6
CONST IPPROTO_PUP = 12
CONST IPPROTO_UDP = 17
CONST IPPROTO_IDP = 22
CONST IPPROTO_RAW = 255
CONST SOCK_STREAM = 1
CONST SOCK_DGRAM = 2
CONST SOCK_RAW = 3
CONST SOCK_RDM = 4
CONST SOCK_SEQPACKET = 5
CONST AF_UNSPEC = 0
CONST AF_UNIX = 1
CONST AF_INET = 2
CONST AF_IMPLINK = 3
CONST AF_PUP = 4
CONST AF_CHAOS = 5
CONST AF_IPX = 6
CONST AF_NS = 6
CONST AF_ISO = 7
CONST AF_OSI = AF_ISO
CONST AF_ECMA = 8
CONST AF_DATAKIT = 9
CONST AF_CCITT = 10
CONST AF_SNA = 11
CONST AF_DECnet = 12
CONST AF_DLI = 13
CONST AF_LAT = 14
CONST AF_HYLINK = 15
CONST AF_APPLETALK = 16
CONST AF_NETBIOS = 17
CONST AF_VOICEVIEW = 18
CONST AF_FIREFOX = 19
CONST AF_UNKNOWN1 = 20
CONST AF_BAN = 21
CONST hsText = 0
CONST hsOwnerDraw = 1
CONST dupIgnore = 0
CONST dupAccept = 1
CONST dupError = 2
CONST smClip = 0
CONST smCenter = 1
CONST smScale = 2
CONST smStretch = 3
CONST smAutoSize = 4
CONST osEmpty = 0
CONST osLoaded = 1
CONST osRunning = 2
CONST osOpen = 3
CONST osInPlaceActive = 4
CONST osUIActive = 5
CONST ffGeneral = 0
CONST ffExponent = 1
CONST ffFixed = 2
CONST ffNumber = 3
CONST faReadOnly = 1
CONST faHidden = 2
CONST faSysFile = 4
CONST faVolumeID = 8
CONST faDirectory = 16
CONST faArchive = 32
CONST faAnyFile = 63
CONST poPortrait = 0
CONST poLandscape = 1
$IFDEF __QBCOLOR
DIM QBColor(0 TO 15) AS INTEGER
QBColor(0) = 0
QBColor(1) = &H800000
QBColor(2) = &H8000
QBColor(3) = &H808000
QBColor(4) = &H80
QBColor(5) = &H800080
QBColor(6) = &H8080
QBColor(7) = &HC0C0C0
QBColor(8) = &H808080
QBColor(9) = &HFF0000
QBColor(10) = &HFF00
QBColor(11) = &HFFFF00
QBColor(12) = &HFF
QBColor(13) = &HFF00FF
QBColor(14) = &HFFFF
QBColor(15) = &HFFFFFF
$ENDIF
$ENDIF
CONST RqBack = 8
CONST RqSpace = 32
|