Re: ComboBox DropDown Size: Design vs Run Time?
- From: Olaf van der Spek <OlafvdSpek@xxxxxxxxx>
- Date: Wed, 01 Jun 2005 22:39:58 +0200
Joseph M. Newcomer wrote:
I never set it at design time. See my dynamically-resizing dropdown class on my MVP Tips site. It has the advantage that it successfully avoids ever putting up a scrollbar if
Why don't you set it to like 1024 or 2048 at design time? Then you don't need the extra code and I think it does exactly what you wish.
But: ::GetSystemMetrics(SM_CYSCREEN);
Does that work correctly on multi-monitor systems with different resolutions on each monitor or weird setups?
.
- Follow-Ups:
- Re: ComboBox DropDown Size: Design vs Run Time?
- From: Joseph M . Newcomer
- Re: ComboBox DropDown Size: Design vs Run Time?
- References:
- ComboBox DropDown Size: Design vs Run Time?
- From: Olaf van der Spek
- Re: ComboBox DropDown Size: Design vs Run Time?
- From: Joseph M . Newcomer
- ComboBox DropDown Size: Design vs Run Time?
- Prev by Date: Re: Multi Threading Options
- Next by Date: Re: Keeping Context Menu open after Command
- Previous by thread: Re: ComboBox DropDown Size: Design vs Run Time?
- Next by thread: Re: ComboBox DropDown Size: Design vs Run Time?
- Index(es):
Relevant Pages
|