Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
like the title,

I tried found some property like
C++
setFloatable()
but failed.

I also tried to intercept the floating or dock state changed by

override
C++
CControlBar::onBarStyleChange(...)


and I don't find the way to dock it back.

a Compromise is if the user make my dockBar floating from docking. the restore it to dock.

any hint?
Posted
Comments
Albert Holguin 6-Jan-15 15:09pm    
There's a handler you're supposed to override but I can't remember which one. I've done this with a toolbar (had two toolbars, one was a major mode setting, didn't want the mode setting to be undocked), is that what you're trying to do?
jiazhiqiang 6-Jan-15 20:41pm    
Exactly!But which handler? please.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900