home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 16
/
CD_ASCQ_16_0994.iso
/
news
/
4609
/
wavplus
/
demomain.frm
< prev
next >
Wrap
Text File
|
1994-06-28
|
4KB
|
128 lines
VERSION 2.00
Begin Form DemoMain
BackColor = &H00C0C0C0&
BorderStyle = 3 'Fixed Double
Caption = "WavPlus Demo"
ClientHeight = 4395
ClientLeft = 810
ClientTop = 1980
ClientWidth = 8280
ClipControls = 0 'False
FillStyle = 0 'Solid
FontBold = -1 'True
FontItalic = 0 'False
FontName = "Mercurius Script MT Bold"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H00000000&
Height = 5085
Icon = DEMOMAIN.FRX:0000
Left = 750
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 4395
ScaleWidth = 8280
Top = 1350
Width = 8400
Begin Label Label1
Alignment = 2 'Center
BackColor = &H00C0C0C0&
Caption = "Label1"
Height = 2055
Left = 1680
TabIndex = 0
Top = 600
Width = 4935
End
Begin Menu mnuInfo
Caption = "&Demos"
Begin Menu mnuDemoCapabilities
Caption = "Wav &Capabilities"
End
Begin Menu mnuDemoPlayer
Caption = "&Wav Player"
End
Begin Menu mnuDemoSegment
Caption = "&Segment Demo"
End
Begin Menu mnuInfoSep1
Caption = "-"
End
Begin Menu mnuExit
Caption = "E&xit"
End
End
Begin Menu mnuHelp
Caption = "&Help"
Begin Menu mnuHelpContents
Caption = "DLL Help &Contents..."
End
Begin Menu mnuHelpSearch
Caption = "DLL Help &Search..."
End
End
End
Sub Form_Load ()
x% = GetWavPlusVersion()
FormCenterScreen Me
nl = Chr$(13) + Chr$(10)
mnuHelp.Caption = Chr$(8) + "&Help" 'right justifies menu item
msg$ = nl + "This small application demonstrates some" + nl
msg$ = msg$ + "of the functions of WavPlus.DLL and a few" + nl
msg$ = msg$ + "VB tricks too. Print and study the program" + nl
msg$ = msg$ + "to fully understand how it all works" + nl
msg$ = msg$ + "together. Also, read the online Help file" + nl
msg$ = msg$ + "WavPlus.HLP to learn about the functions in" + nl
msg$ = msg$ + " this version of WavPlus ... and about how to" + nl
msg$ = msg$ + " register this shareware utility."
Label1.Caption = msg$
End Sub
Sub Form_Paint ()
DoForm3D Me, sunken, 3, 0
DoForm3D Me, raised, 1, 3
DoControl3D Label1, raised, 4
End Sub
Sub mnuDemoCapabilities_Click ()
Screen.MousePointer = 11
Wdevice.Show 1
End Sub
Sub mnuDemoPlayer_Click ()
Screen.MousePointer = 11
WavPlay.Show 1
End Sub
Sub mnuDemoSegment_Click ()
Screen.MousePointer = 11
SegDemo.Show 1
End Sub
Sub mnuExit_Click ()
Unload Me
End Sub
Sub mnuHelpContents_Click ()
On Error Resume Next
MyHelpFile$ = App.Path
MyHelpFile$ = AddSeparator(MyHelpFile$) + "WAVPLUS.HLP"
Screen.MousePointer = 11
ret% = WinHelp(Me.hWnd, MyHelpFile$, HELP_CONTENTS, 0&)
Screen.MousePointer = 0
End Sub
Sub mnuHelpSearch_Click ()
On Error Resume Next
MyHelpFile$ = App.Path
MyHelpFile$ = AddSeparator(MyHelpFile$) + "WAVPLUS.HLP"
Screen.MousePointer = 11
ret% = WinHelp(Me.hWnd, MyHelpFile$, HELP_PARTIALKEY, "")
Screen.MousePointer = 0
End Sub