home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmOptions
- BorderStyle = 3 'Fixed Dialog
- Caption = "Options"
- ClientHeight = 2130
- ClientLeft = 2820
- ClientTop = 2940
- ClientWidth = 4875
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 2130
- ScaleWidth = 4875
- ShowInTaskbar = 0 'False
- Begin VB.Frame Frame1
- Caption = "When Copying, Copy:"
- Height = 1095
- Left = 0
- TabIndex = 4
- Top = 0
- Width = 2535
- Begin VB.OptionButton optWin
- Caption = "Both Definitions "
- Height = 195
- Index = 2
- Left = 240
- TabIndex = 7
- Top = 720
- Value = -1 'True
- Width = 1695
- End
- Begin VB.OptionButton optWin
- Caption = "The 32-Bit Definition"
- Height = 195
- Index = 1
- Left = 240
- TabIndex = 6
- Top = 480
- Width = 2055
- End
- Begin VB.OptionButton optWin
- Caption = "The 16-Bit Definition"
- Height = 195
- Index = 0
- Left = 240
- TabIndex = 5
- Top = 240
- Width = 2055
- End
- End
- Begin VB.CheckBox chkComments
- BackColor = &H00C0C0C0&
- Caption = "Add Comments to Definitions"
- ForeColor = &H00004040&
- Height = 255
- Left = 120
- TabIndex = 3
- Top = 1320
- Value = 1 'Checked
- Width = 2415
- End
- Begin VB.CheckBox chkGlobal
- BackColor = &H00C0C0C0&
- Caption = "Add the ""Public"" Keyword to constants"
- ForeColor = &H00004040&
- Height = 255
- Left = 120
- TabIndex = 2
- Top = 1680
- Width = 3100
- End
- Begin VB.CommandButton cmdCancel
- Cancel = -1 'True
- Caption = "&Cancel"
- Height = 495
- Left = 3480
- TabIndex = 1
- Top = 780
- Width = 1215
- End
- Begin VB.CommandButton cmdOK
- Caption = "&OK"
- Default = -1 'True
- Height = 495
- Left = 3480
- TabIndex = 0
- Top = 240
- Width = 1215
- End
- Attribute VB_Name = "frmOptions"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- ' Copyright
- 1996 by Desaware Inc.
- ' Part of the Desaware API Toolkit
- ' All Rights Reserved
- Option Explicit
- Const OPT_WIN16 = 0
- Const OPT_WIN32 = 1
- Const OPT_BOTH = 2
- Public Sub cmdCancel_Click()
- Me.Hide
- End Sub
- Public Sub cmdOK_Click()
- If optWin(OPT_WIN16).Value = True Then
- options% = OPT_WIN16
- ElseIf optWin(OPT_WIN32).Value = True Then
- options% = OPT_WIN32
- ElseIf optWin(OPT_BOTH).Value = True Then
- options% = OPT_BOTH
- End If
- Comments% = chkComments.Value
- Glbl% = chkGlobal.Value
- ' frmAPI.Initialize
- Me.Hide
- End Sub
- Public Sub Form_Load()
- optWin(options%).Value = True
- chkComments.Value = Abs(Comments%)
- chkGlobal.Value = Abs(Glbl%)
- End Sub
-