Solved

floating the toolbar

Posted on 1997-11-08
1
400 Views
Last Modified: 2013-11-19
I want to prohibit the user from floating the toolbar. How can i do this ?
0
Comment
Question by:MarcoHelmers
1 Comment
 
LVL 2

Accepted Solution

by:
wpinto earned 50 total points
Comment Utility
Hi MacroHelmers,

Make sure that while creating the toolbar, you don't have the following styles set - CBRS_FLOATING, CBRS_DYNAMIC, CBRS_FLYBY. Replace all/any of the above styles with CBRS_FIXED. This also applies if you are using the SetBarStyle() function to set the style of the toolbar.

Also make sure that you do not call EnableDocking() or FloatControlBar() in the OnCreate() member function (or any other function) of the CFrameWnd derived classes.

Hope this helps

Wilfred
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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 …
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

763 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

6 Experts available now in Live!

Get 1:1 Help Now