CControlBar Floating INitially

I have a Control Bar which is docked... But i want it to be floating when the program starts...

been fiddling around with the Create() arguments but can't seem to get it to not dock when the program starts..

Tried CBRS_SIZE_FIXED but that didn't help...

must be something easy i missed.. thanks in advance.
lamerAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
nutsnutsConnect With a Mentor Commented:
You can use FloatControlBar(...) to make it to be floating in CMainFrame::OnCreate() Function after your control bar is created.
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.