![]() |
How to remove the popup menu width limit? |
Post Reply
|
| Author | |
Nico
Newbie
Joined: 03 August 2005 Location: Germany Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: How to remove the popup menu width limit?Posted: 03 August 2005 at 7:10am |
|
Hello! My menu looks like this: The caption "Extra long! ..." is longer than displayed. How do I avoid cutting off the caption? Regards, Nico. Edited by Nico |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 August 2005 at 11:09am |
|
Take a look at CXTPPopupBar::m_dMaxWidthDivisor
|
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 August 2005 at 11:10am |
|
To use, set value to .5 for popup menut to occupy 50% of available area, .7 for 70%, etc. I think 33% is the default.
Edited by SuperMario |
|
![]() |
|
Nico
Newbie
Joined: 03 August 2005 Location: Germany Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 August 2005 at 5:27am |
|
Thanks, that fixed it. I just called: CXTPPopupBar::m_dMaxWidthDivisor = 1.0; just before: InitCommandBars() in: CMainFrame::OnCreate(...) |
|
![]() |
|
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 |