Results 1 to 5 of 5

Thread: resizing problem

Threaded View

  1. #1

    Thread Starter
    Fanatic Member Kaverin's Avatar
    Join Date
    Oct 2000
    Posts
    930

    resizing problem

    I've got a weird problem in a usercontrol. When I call the sub that does the repainting of it, I also force a resize (in the resize event is code that ensures the control has the right dimensions). Generally, it works fine, but when I change the orientation of the control (vertical vs horizontal), it won't size correctly, even though when I change the orientation property, I also call the resize part again. Sometimes if I force the resize event a few times, it will fix it, but that's really sloppy. Also when I've placed the control on a form and use the grab handles to resize it in the form, the size will snap back to what it's supposed to be, but only when the bottom, right, or bottom right corner grab handles were used. The others will allow the control to expand/shrink to the dragged size. Does anyone know why this might going on?
    Last edited by Kaverin; Jul 4th, 2001 at 07:27 PM.
    I'm baaaack...
    VB5 Professional Edition, VC++ 6
    Using a 1 gHz Thunderbird, 256 mb RAM, 40 gb HD system with Win98se

    I feel special because I finally figured out how to loop midis: Post link
    I'm a fanatic too

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width