home *** CD-ROM | disk | FTP | other *** search
Wrap
VERSION 2.00 Begin Form Form1 BackColor = &H00C0C0C0& BorderStyle = 3 'Fixed Double Caption = "CTL3DV2.DLL Test" ClientHeight = 2115 ClientLeft = 2865 ClientTop = 3255 ClientWidth = 4065 Height = 2520 Icon = FORM1.FRX:0000 Left = 2805 LinkTopic = "Form1" ScaleHeight = 2115 ScaleWidth = 4065 Top = 2910 Width = 4185 Begin CommandButton Command2 Cancel = -1 'True Caption = "Close" Height = 375 Left = 2280 TabIndex = 2 Top = 1440 Width = 1215 End Begin CommandButton Command1 Caption = "&Message" Default = -1 'True Height = 375 Left = 600 TabIndex = 1 Top = 1440 Width = 1215 End Begin Label Label1 AutoSize = -1 'True BackStyle = 0 'Transparent Caption = "This lil' applet shows how to use the CTL3DV2.DLL in your VB apps. For an example of what the DLL does for VB, click the Message button ..." Height = 855 Left = 480 TabIndex = 0 Top = 360 Width = 3255 WordWrap = -1 'True End Option Explicit Sub Command1_Click () Dim msg$ msg = "Hi there! I'm a 3d message box!" MsgBox msg, 48 End Sub Sub Command2_Click () Unload Me End Sub Sub Form_Load () Move (screen.Height - Height) \ 2, (screen.Width - Width) \ 2 Load_CTL3D Me End Sub Sub Form_Unload (Cancel As Integer) Unload_CTL3D Me End Sub