home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code1 / contrl_c / trick.frm (.txt) next >
Visual Basic Form  |  1995-02-27  |  2KB  |  57 lines

  1. Form1
  2. Form1
  3. Form15
  4. Combo1
  5. FRAME
  6. Frame1
  7. Check1
  8. Check1
  9. Label2
  10. Select Frame
  11. Label1
  12. !CLICK ON FORM TO CREATE NEW FRAME
  13.     Form_Load
  14. frame1
  15. hWnd)
  16. inext
  17. check
  18. check1
  19. newFrameHnd
  20.     SetParent
  21. Visible
  22. Form_click
  23.     hWndChild    
  24. hWndNewParent
  25. Captionz
  26. nexti
  27. Check1_Clickj
  28. index
  29. check1Index
  30. Frame1_DragDrope
  31. Source
  32. Control
  33. frame1_click
  34. combo1
  35. Combo1_Change
  36. Combo1_click
  37.     ListIndex0
  38. Combo1_click
  39. Form_click
  40.  Declare Frame Counter
  41.  Dummy for SetParent
  42.  New Frame Handlee
  43.  Increment Counter
  44. Create new Frame
  45. Create new checkboxe
  46. Get new Frame Handle
  47. * AND THE TRICK IS
  48. Set Checkbox parent handle to New Frame handle e
  49. Give new Frame a namep
  50. This is on Form 
  51. Checkbox namer
  52. Position
  53. Make Visible
  54. Frame comes to front
  55.  Add to list
  56. Form_Load
  57.