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

Multi-column menu

 Post Reply Post Reply
Author
Message
Kingore View Drop Down
Newbie
Newbie


Joined: 26 March 2007
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kingore Quote  Post ReplyReply Direct Link To This Post Topic: Multi-column menu
    Posted: 18 December 2007 at 3:04am
I am using Xtreme ToolkitPro 2006 Q2 (version 10.2).  Is that possible to create a multi-column menu?

I am trying different ways but failed.

One way I did is to add a function in CXTPMenuBar. which can be create a CXTPMenuBar from a HMENU object. (or CMenu).
(I create my CMenu object in another way. you can suppose it's created from
LoadMenu API which is a typical windows API to create menu object. ).

I have add MFT_MENUBARBREAK|MFT_MENUBREAK flag which can cause a column break according to MSDN when I add menu items to the menu object.  but it seems XTP doesn't translated this flags... The menubar I created still is a one-column menu.

And I also tried with CXTPCommandBars::TrackPopupMenu function , and it doesn't work too.

When I add lots of menu items in the menubar, there will be an up arrow at the top of the menubar or a down arrow at the bottom of the menubar.
(not true with CXTPCommandBars::TrackPopupMenu).

I searched the forum, And I find some body talks about xtpFlagWrapRow 
flag. But I searched all the source codes of XTP, and can't find where this flag is defined ? Am I using a different version ?

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: 18 December 2007 at 5:53am
Hello,
 
Yes, it was added after 10.2 release.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Kingore View Drop Down
Newbie
Newbie


Joined: 26 March 2007
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kingore Quote  Post ReplyReply Direct Link To This Post Posted: 19 December 2007 at 2:05am
Thank you:), One more question, Since which version the feature of multi-column has been added ?


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: 19 December 2007 at 10:59am
Hi,
In 10.3.1.
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.063 seconds.