Print Page | Close Window

How to remove the popup menu width limit?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=2678
Printed Date: 08 November 2025 at 4:11pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to remove the popup menu width limit?
Posted By: Nico
Subject: How to remove the popup menu width limit?
Date 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.




Replies:
Posted By: SuperMario
Date Posted: 03 August 2005 at 11:09am
Take a look at CXTPPopupBar::m_dMaxWidthDivisor


Posted By: SuperMario
Date 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.


Posted By: Nico
Date 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(...)




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net