home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Tool Box
/
SIMS_2.iso
/
vb_code1
/
contrl_c
/
trick.frm
(
.txt
)
next >
Wrap
Visual Basic Form
|
1995-02-27
|
2KB
|
57 lines
Form1
Form1
Form15
Combo1
FRAME
Frame1
Check1
Check1
Label2
Select Frame
Label1
!CLICK ON FORM TO CREATE NEW FRAME
Form_Load
frame1
hWnd)
inext
check
check1
newFrameHnd
SetParent
Visible
Form_click
hWndChild
hWndNewParent
Captionz
nexti
Check1_Clickj
index
check1Index
Frame1_DragDrope
Source
Control
frame1_click
combo1
Combo1_Change
Combo1_click
ListIndex0
Combo1_click
Form_click
Declare Frame Counter
Dummy for SetParent
New Frame Handlee
Increment Counter
Create new Frame
Create new checkboxe
Get new Frame Handle
* AND THE TRICK IS
Set Checkbox parent handle to New Frame handle e
Give new Frame a namep
This is on Form
Checkbox namer
Position
Make Visible
Frame comes to front
Add to list
Form_Load