Solved

CControlBar Floating INitially

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now