![]() |
Lock menu position? |
Post Reply
|
| Author | |
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Topic: Lock menu position?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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 May 2007 at 7:40am |
|
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)
Quote Reply
Posted: 07 May 2007 at 11:08am |
|
It works, but the "drag here"-dots are still visible. Drawing bug?
![]() |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 May 2007 at 12:47pm |
|
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)
Quote Reply
Posted: 07 May 2007 at 2:19pm |
|
Great! Thanks :)
|
|
![]() |
|
hikaroute
Groupie
Joined: 05 September 2007 Status: Offline Points: 51 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 September 2007 at 2:19am |
|
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 |