CommandBars docking, not moving controls |
Post Reply |
Author | |
dajv
Groupie Joined: 27 July 2004 Location: Australia Status: Offline Points: 80 |
Post Options
Thanks(0)
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? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
dajv
Groupie Joined: 27 July 2004 Location: Australia Status: Offline Points: 80 |
Post Options
Thanks(0)
|
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 |
|
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 |