home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.1#0"; "COMDLG32.OCX"
- Begin VB.Form Form1
- BorderStyle = 3 'Fixed Dialog
- Caption = "Form1"
- ClientHeight = 3195
- ClientLeft = 150
- ClientTop = 720
- ClientWidth = 4680
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3195
- ScaleWidth = 4680
- ShowInTaskbar = 0 'False
- StartUpPosition = 3 'Windows Default
- WhatsThisButton = -1 'True
- WhatsThisHelp = -1 'True
- Begin VB.CommandButton cmdClose
- Caption = "Close"
- Height = 375
- Left = 2760
- TabIndex = 3
- Top = 2640
- Width = 1695
- End
- Begin VB.TextBox txtInput
- Height = 375
- Left = 720
- TabIndex = 2
- Text = "Text1"
- Top = 480
- WhatsThisHelpID = 4
- Width = 2295
- End
- Begin MSComDlg.CommonDialog CommonDlg
- Left = 840
- Top = 1680
- _ExtentX = 847
- _ExtentY = 847
- _Version = 327680
- HelpFile = "c:\temp\usdemo.hlp"
- End
- Begin VB.CommandButton cmdHelp
- Caption = "Help"
- Height = 375
- Left = 2760
- TabIndex = 1
- Top = 1680
- Width = 1695
- End
- Begin VB.CommandButton cmdMessage
- Caption = "MsgBox Help"
- Height = 375
- HelpContextID = 3
- Left = 2760
- TabIndex = 0
- ToolTipText = "This is a tip"
- Top = 2160
- WhatsThisHelpID = 4
- Width = 1695
- End
- Begin VB.Menu mnuHelp
- Caption = "&Help"
- Begin VB.Menu mnuDemo
- Caption = "Demo Help"
- Shortcut = {F1}
- End
- Begin VB.Menu sep1
- Caption = "-"
- End
- Begin VB.Menu mnuContents
- Caption = "&Contents and Index"
- End
- Begin VB.Menu mnuThis
- Caption = "Whats &This?"
- Shortcut = +{F1}
- End
- Begin VB.Menu sep2
- Caption = "-"
- End
- Begin VB.Menu mnuabout
- Caption = "&About the Demo"
- End
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Const HelpFinder = &HB
- Private Sub cmdClose_Click()
- End Sub
- Private Sub cmdHelp_Click()
- 'CommonDlg.HelpContext = 4
- CommonDlg.HelpCommand = HelpFinder
- CommonDlg.ShowHelp
- End Sub
- Private Sub cmdMessage_Click()
- MsgBox "this is a help demo", vbCritical + vbMsgBoxHelpButton, "Demo", "c:\temp\usdemo.hlp", 3
- End Sub
- Private Sub Form_Load()
- End Sub
- Private Sub mnuContents_Click()
- CommonDlg.HelpCommand = cdlHelpContents
- CommonDlg.ShowHelp
- End Sub
- Private Sub mnuDemo_Click()
- CommonDlg.HelpCommand = HelpFinder
- CommonDlg.ShowHelp
- End Sub
-