CToolBar resizing issues

I have created a toolbar resource in VC++ 5.0. This was a toolbar across the top of my application, but now I want to move it to be down the right hand side of the window. I don't want to actually put it flush with the right side, I would like to leave a little space.
  I tried getting the CToolBarCtrl and doing a movewindow. This works, only the buttons don't change to be stacked on top of one another going down the side.
  How can I get this functionality?
(I don't want a docking one, I want it fixed)
Thanks.
BeatachonAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
danny_pavConnect With a Mentor Commented:
in the OnCreate of you MainFrame chnage the alignment when you create it.  instead of using CBRS_ALIGN_TOP use CBRS_ALIGN_RIGHT
0
 
BridgeCommented:
RecalcLayout()
( just a guess )

0
 
BridgeCommented:
CToolBarCtrl::SetRows();
0
 
BridgeCommented:
CToolBarCtrl::SetRows();
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.