Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - CommandBars docking, not moving controls
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CommandBars docking, not moving controls

 Post Reply Post Reply
Author
Message
dajv View Drop Down
Groupie
Groupie


Joined: 27 July 2004
Location: Australia
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote dajv Quote  Post ReplyReply Direct Link To This Post Topic: CommandBars docking, not moving controls
    Posted: 08 November 2004 at 9:42pm
Gday,

This seems like a silly problem, but when I put my CommandBars control on a form (not an MDI form - so far I have only been working with CommandBars on MDI forms) it "docks" correctly but the forms controls are not moved and the CommandBars menu and toolbar appear underneath the forms controls.

Is this expected behaviour? Do i have to move controls manually depending on the values I get from GetClientRect?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 09 November 2004 at 2:20am
it is expected behaviour. Put controls on Frame/picture box and move it in resize event. (see our samples)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
dajv View Drop Down
Groupie
Groupie


Joined: 27 July 2004
Location: Australia
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote dajv Quote  Post ReplyReply Direct Link To This Post Posted: 09 November 2004 at 3:35pm
OK. I did look at the examples, but I was hoping there was an easier way :)

Thanks

Edit: Is there any plans to include functionality such that the docking will work like vb toolbars/aligned picture boxes? Other component products have this feature.

Edited by dajv
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.188 seconds.