home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / VISUAL_B / CODIGO_2 / SIZECTRL / VB1NOOVR.FRM (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1995-03-16  |  1.7 KB  |  37 lines

  1. Form2
  2. (Preventing Siz controls from overlapping
  3. Form3%
  4. Label1
  5.     Drag the red and green rectangles around the form, or resize them by dragging the black corner "handles".  You'll see that the code in the Resize event procedure won't let you overlap the two controls.
  6. Form_Click
  7. Left$
  8. right
  9. bottom
  10. IntersectRect
  11. lpDestRect
  12. lpSrc1Rect
  13. lpSrc2Rectg
  14. IsRectEmpty,
  15. lpRect
  16. rSiz1
  17. rSiz2
  18. rIntersect
  19. @    Form_Load
  20. SaveRectangle
  21. Siz2~
  22. Width
  23. heighto
  24. Siz1_Resize
  25. Corner
  26. Siz2_Resize
  27. retval
  28. dummy
  29. temprect
  30. Label1
  31. Label1_Click
  32. Control
  33. Form_Load
  34. SaveRectangle
  35. Siz1_Resize
  36. Siz2_Resize
  37.