Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - fixing toolbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

fixing toolbar

 Post Reply Post Reply
Author
Message
Osiris View Drop Down
Groupie
Groupie
Avatar

Joined: 18 June 2007
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote Osiris Quote  Post ReplyReply Direct Link To This Post Topic: fixing toolbar
    Posted: 26 November 2007 at 7:45am
Hello,

is it possible to prevent a toolbar from being draged and moved around?
I can unset the flag xtpFlagFloating. The toolbar can not moved out of the window it has been created in but it still can be moved around inside the window. Setting the flag xtpFlagNoMovable seems to have no effect.

Thanks in advance
Stefan
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 26 November 2007 at 10:00am
Hi,
 
Just call pToolBar->EnableDocking(0);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.142 seconds.