Lock menu position? |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 06 May 2007 at 6:58pm |
Hi,
I've been pondering upon this for quite some time now. It should be simple, but I can't find the flag/function for it!
How do I make the menu bar undockable? That is, it should not be possible to move it. Similar to the menu in VS 2005.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Call
pMenuBar->EnableDocking(xtpFlagStretched);
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
It works, but the "drag here"-dots are still visible. Drawing bug?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
no. another flag.
pMenuBar->SetShowGripper(FALSE);
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Great! Thanks :)
|
|
hikaroute
Groupie Joined: 05 September 2007 Status: Offline Points: 51 |
Post Options
Thanks(0)
|
And I also need to know if we lock the menubar & disable the grip, Thank you. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |