Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Sizing parent form not individual control
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Sizing parent form not individual control

 Post Reply Post Reply
Author
Message
mweinberger View Drop Down
Newbie
Newbie
Avatar

Joined: 06 April 2005
Location: United States
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote mweinberger Quote  Post ReplyReply Direct Link To This Post Topic: Sizing parent form not individual control
    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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.