The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: ragdog on August 07, 2011, 05:36:25 PM

Title: Combobox
Post by: ragdog on August 07, 2011, 05:36:25 PM
Hi

I found a mistake in my App  ,i have a combox (dopdownlist) and add more as 30 entry´s
with CB_ADDSTRING but this combobox print me not more as 30 entry´s

Gives for it a solution?
Title: Re: Combobox
Post by: ToutEnMasm on August 07, 2011, 05:39:07 PM

With a little piece of code,this surely can be done.
Title: Re: Combobox
Post by: Tedd on August 07, 2011, 06:20:15 PM
A combobox can handle many more entries - the problem is in your code.
We might be able to help if we could actually see it.
Title: Re: Combobox
Post by: Tedd on August 10, 2011, 12:12:25 PM
Add WS_VSCROLL to your COMBOBOX style :wink

At most, 30 items are shown; so the rest need to be scrolled (they are still there, you just don't see them) - this can be done with the arrow keys, or adding a scrollbar.