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?

[Webinar] Streamline your web hosting managementRegister Today

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
All Courses

From novice to tech pro — start learning today.