Solved

CControlBar Floating INitially

Posted on 2000-04-07
1
297 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 50 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mixString challenge 36 130
Turn a spreadsheet into a vba executable. 2 92
zeroMAx challenge 20 111
changeXy challenge 13 87
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

789 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