Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPCommandBars
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPCommandBars

 Post Reply Post Reply
Author
Message
fist88226 View Drop Down
Newbie
Newbie
Avatar

Joined: 05 March 2008
Location: Malaysia
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote fist88226 Quote  Post ReplyReply Direct Link To This Post Topic: CXTPCommandBars
    Posted: 05 March 2008 at 10:23am
Hi, Everybody.

I have one problem when using CXTPCommandBars.

I load the menu on the dialog, using CXTPCommandBars.

But the menu which I load is the dockable menu and I'm going to fix it.

What should I do?

Thanks.
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 05 March 2008 at 11:27am

Hi,

What is "dockable menu"?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
fist88226 View Drop Down
Newbie
Newbie
Avatar

Joined: 05 March 2008
Location: Malaysia
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote fist88226 Quote  Post ReplyReply Direct Link To This Post Posted: 05 March 2008 at 8:42pm


Thanks, Oleg.
On this picture, Menu Bar is movable.
I want to make the Menu Bar not movable.

Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 06 March 2008 at 2:50am
Really cool skin! Did you make it yourself?
 
Anyway, if I recall correctly:
 
pMenuBar->SetShowGripper(FALSE);
pMenuBar->EnableDocking(xtpFlagStretched);
Back to Top
fist88226 View Drop Down
Newbie
Newbie
Avatar

Joined: 05 March 2008
Location: Malaysia
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote fist88226 Quote  Post ReplyReply Direct Link To This Post Posted: 06 March 2008 at 4:07am
Thanks, znakeeye.

I achieve what I wanted with your help.

Your code was correct and helpful for me.

And I made the skin customizing the Office 2007 style.

Thanks, again.
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.047 seconds.