[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

CControlBar Floating INitially

Posted on 2000-04-07
1
Medium Priority
?
304 Views
Last Modified: 2013-11-20
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.
0
Comment
Question by:lamer
1 Comment
 
LVL 1

Accepted Solution

by:
nutsnuts earned 200 total points
ID: 2692864
You can use FloatControlBar(...) to make it to be floating in CMainFrame::OnCreate() Function after your control bar is created.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question