Link to home
Start Free TrialLog in
Avatar of antinutrino
antinutrino

asked on

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
Avatar of NawalKishore1976
NawalKishore1976

EnableDocking(false)
Avatar of antinutrino

ASKER

EnableDocking takes a DWORD flag!
Just remove the EnableDocking functions in your CMainFrame::OnCreate() event
Or try with EnableDocking(0);
ASKER CERTIFIED SOLUTION
Avatar of KurtVon
KurtVon

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi

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

Cheers