[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 234
  • Last Modified:

Prevent and toolbar from being floated

Hi

I want to prevent a toolbar from being floated. Can anyone tell how this
can be easily achieved?

Many thanks
anti
0
antinutrino
Asked:
antinutrino
1 Solution
 
NawalKishore1976Commented:
EnableDocking(false)
0
 
antinutrinoAuthor Commented:
EnableDocking takes a DWORD flag!
0
 
Jaime OlivaresCommented:
Just remove the EnableDocking functions in your CMainFrame::OnCreate() event
Or try with EnableDocking(0);
0
 
KurtVonCommented:
Actually, it's a bit more complicated than that.  Check out this article by Microsoft on the subject: http://msdn.microsoft.com/msdnmag/issues/03/12/CQA/

Hope this helps.
0
 
antinutrinoAuthor Commented:
Hi

Thanks KurtVon - I found this also yesterday - not so simple at all!

Cheers
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now