home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 4 Power Pack / Visual_Basic4_Power_Pack.bin / vb4files / 3dfxplus / altwdw.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1996-11-20  |  5.5 KB  |  192 lines

  1. VERSION 2.00
  2. Begin Form AltWdw 
  3.    BorderStyle     =   3  'Fixed Double
  4.    Caption         =   "Another Window"
  5.    ClientHeight    =   5160
  6.    ClientLeft      =   1095
  7.    ClientTop       =   1485
  8.    ClientWidth     =   7365
  9.    Height          =   5565
  10.    Left            =   1035
  11.    LinkTopic       =   "Form1"
  12.    MaxButton       =   0   'False
  13.    MinButton       =   0   'False
  14.    ScaleHeight     =   5160
  15.    ScaleWidth      =   7365
  16.    Top             =   1140
  17.    Width           =   7485
  18.    Begin CommonDialog CMDialog1 
  19.       Left            =   6000
  20.       Top             =   4680
  21.    End
  22.    Begin CommandButton Command1 
  23.       BackColor       =   &H00C0C0C0&
  24.       Caption         =   "Dialog:  Open"
  25.       Height          =   375
  26.       Left            =   360
  27.       TabIndex        =   15
  28.       Top             =   4560
  29.       Width           =   2655
  30.    End
  31.    Begin ComboBox Combo2 
  32.       Height          =   300
  33.       Left            =   360
  34.       Style           =   1  'Simple Combo
  35.       TabIndex        =   14
  36.       Text            =   "Combo2"
  37.       Top             =   4080
  38.       Width           =   2655
  39.    End
  40.    Begin ComboBox Combo1 
  41.       Height          =   300
  42.       Left            =   360
  43.       Style           =   2  'Dropdown List
  44.       TabIndex        =   13
  45.       Top             =   3600
  46.       Width           =   2655
  47.    End
  48.    Begin PictureBox Picture1 
  49.       Height          =   615
  50.       Left            =   360
  51.       Picture         =   ALTWDW.FRX:0000
  52.       ScaleHeight     =   585
  53.       ScaleWidth      =   2625
  54.       TabIndex        =   12
  55.       Top             =   1440
  56.       Width           =   2655
  57.    End
  58.    Begin FileListBox File1 
  59.       Height          =   810
  60.       Left            =   4080
  61.       TabIndex        =   11
  62.       Top             =   3960
  63.       Width           =   3135
  64.    End
  65.    Begin DirListBox Dir1 
  66.       Height          =   930
  67.       Left            =   4080
  68.       TabIndex        =   10
  69.       Top             =   2880
  70.       Width           =   3135
  71.    End
  72.    Begin DriveListBox Drive1 
  73.       Height          =   315
  74.       Left            =   4080
  75.       TabIndex        =   9
  76.       Top             =   2400
  77.       Width           =   3135
  78.    End
  79.    Begin VScrollBar VScroll1 
  80.       Height          =   2655
  81.       LargeChange     =   10
  82.       Left            =   3480
  83.       Max             =   100
  84.       TabIndex        =   8
  85.       Top             =   2280
  86.       Width           =   375
  87.    End
  88.    Begin HScrollBar HScroll1 
  89.       Height          =   375
  90.       LargeChange     =   10
  91.       Left            =   3480
  92.       Max             =   100
  93.       TabIndex        =   7
  94.       Top             =   1800
  95.       Width           =   2295
  96.    End
  97.    Begin ListBox List1 
  98.       Height          =   810
  99.       Left            =   3480
  100.       TabIndex        =   6
  101.       Top             =   720
  102.       Width           =   2295
  103.    End
  104.    Begin CheckBox Check1 
  105.       Caption         =   "Check1"
  106.       Height          =   255
  107.       Left            =   3480
  108.       TabIndex        =   3
  109.       Top             =   240
  110.       Width           =   2175
  111.    End
  112.    Begin Frame Frame1 
  113.       Caption         =   "Frame1"
  114.       Height          =   1335
  115.       Left            =   360
  116.       TabIndex        =   2
  117.       Top             =   2160
  118.       Width           =   2655
  119.       Begin OptionButton Option2 
  120.          Caption         =   "Option2"
  121.          Height          =   255
  122.          Left            =   240
  123.          TabIndex        =   5
  124.          Top             =   840
  125.          Width           =   2175
  126.       End
  127.       Begin OptionButton Option1 
  128.          Caption         =   "Option1"
  129.          Height          =   255
  130.          Left            =   240
  131.          TabIndex        =   4
  132.          Top             =   360
  133.          Width           =   2175
  134.       End
  135.    End
  136.    Begin TextBox Text1 
  137.       Height          =   285
  138.       Left            =   360
  139.       TabIndex        =   1
  140.       Text            =   "Text1"
  141.       Top             =   840
  142.       Width           =   2655
  143.    End
  144.    Begin Label Label1 
  145.       BackStyle       =   0  'Transparent
  146.       Caption         =   "Label1"
  147.       FontBold        =   -1  'True
  148.       FontItalic      =   0   'False
  149.       FontName        =   "MS Sans Serif"
  150.       FontSize        =   12
  151.       FontStrikethru  =   0   'False
  152.       FontUnderline   =   0   'False
  153.       Height          =   375
  154.       Left            =   360
  155.       TabIndex        =   0
  156.       Top             =   240
  157.       Width           =   2655
  158.    End
  159. Sub Command1_Click ()
  160.     SetBackDropStyle "SlickFillLight"
  161.     SetStaticBorder "sunken"
  162.     Cmdialog1.Action = 1
  163.     'reset configuration to previous values
  164.     SetStaticBorder "none"
  165.     SetBackDropStyle "DiamondsLight"
  166. End Sub
  167. Sub Form_Load ()
  168.     ScreenCenterWindow Me.hWnd
  169.     SetBackDropStyle "DiamondsLight"
  170.     SetFrameBorderStyle "none"
  171.     SetFrameBorder "sunken"
  172.     SetCheckBoxBorder "sunken"
  173.     Window3Dfx Me.hWnd
  174.     For x = 1 To 9
  175.         list1.AddItem "list test " & x
  176.         Next x
  177.     For x = 1 To 9
  178.         combo1.AddItem "combo test " & x
  179.         Next x
  180.     Screen.MousePointer = 0
  181. End Sub
  182. Sub Form_Paint ()
  183.     Draw3DWindowBox Me.hWnd, 3, "SunkenDouble"
  184. End Sub
  185. Sub Form_Unload (Cancel As Integer)
  186.     'reset configuration to previous values
  187.     SetBackDropStyle "solid"
  188.     SetFrameBorderStyle "RaisedDouble"
  189.     SetFrameBorder "none"
  190.     SetCheckBoxBorder "none"
  191. End Sub
  192.