![]() |
Creating a Tab Menu |
Post Reply ![]() |
Author | |
lheier ![]() Newbie ![]() Joined: 09 January 2007 Location: United States Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() Posted: 11 January 2007 at 10:13am |
I'm trying to create a Tab Menu similar to the one in WMP 11. Does Codejock XTP have any controls like this? Or does anyone know how do create this using MFC?
![]() |
|
![]() |
|
Tsenoh ![]() Groupie ![]() ![]() Joined: 08 November 2006 Status: Offline Points: 69 |
![]() ![]() ![]() ![]() ![]() |
It looks like a split button. But normally, the style of the split button with only caption and no icon is to have the drop-down button on the right side of the button, not on the bottom. You could use a trick, creating transparent icon 1x1 pixel in size. Then you can use button style xtpButtonIconAndCaptionBelow to make something like that button you posted.
I am not sure if this will work, but that is what I would try to do.
As for the colors, you can create your own style dll, with your own graphics.
Sincerely,
Bojan Hrnkas
|
|
![]() |
|
lheier ![]() Newbie ![]() Joined: 09 January 2007 Location: United States Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() |
I'm getting closer. Using the (undocumented) xtpButtonIconAndCaptionBelow style on a xtpControlSplitButtonPopup control, I get this:
![]() Unfortunately, the caption is on the wrong part of the button. Its on the popup menu instead of the button. Anyone know how to move it?
|
|
![]() |
|
lheier ![]() Newbie ![]() Joined: 09 January 2007 Location: United States Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() |
I created an issue with Codejock support asking if it was possible to move the caption. Oleg responded saying they would add a flag in the next major release. |
|
![]() |
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 |