Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fixed Width Popup with PopupMenuSelect



On Nov 24, 2003, at 3:57 AM, Mark Coniglio wrote:

Is there any way to force a popup menu to have a fixed with PopupMenuSelect? I've tried SetMenuWidth() to no avail... hoping not to have to write a Menu Definition Procedure to force the width.

It's difficult prior to Mac OS X 10.3, because PopUpMenuSelect almost always calls CalcMenuSize before displaying the menu, which overwrites the width that you've set on the menu. I think (although I haven't tried it recently) that on 10.3 and later, the width that you set should be used by PopUpMenuSelect.

-eric
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Fixed Width Popup with PopupMenuSelect (From: Mark Coniglio <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.