Sizing parent form not individual control |
Post Reply |
Author | |
mweinberger
Newbie Joined: 06 April 2005 Location: United States Status: Offline Points: 9 |
Post Options
Thanks(0)
Posted: 09 April 2005 at 1:56pm |
I want to add the CommandBars control to my VB6 project. In the samples
that I've seen the way to deal with form sizing is to process the
tbarXtreme_Resize() event, get the client area, as stated from the
CommandBar control, and resize the individual controls within the
client to fit within the new client area.
What I would like to do is to keep the existing client area the same, but rather resize the form to make room for the CommandBar. When I try and do that, I get an infinite callback to the Xtreme control resize event. What's the proper method to do the resizing, such that the main form gets resized and not the individual controls? Thanks in advance. Regards, Martin A. Weinberger ButterflyVista |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |