![]() |
Multi-column menu |
Post Reply ![]() |
Author | |
Kingore ![]() Newbie ![]() Joined: 26 March 2007 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() 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 ? |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Yes, it was added after 10.2 release.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Kingore ![]() Newbie ![]() Joined: 26 March 2007 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
Thank you:), One more question, Since which version the feature of multi-column has been added ?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
In 10.3.1.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |