I've been working on a ComboBoxEx control for the next SDF version. This
uses the standard ComboBox but implements a number of missing properties by
sending messages to the control handle.
http://blog.opennetcf.org/pfoot/Perm...2-323ef182f25c
You can view the source online here:-
http://www.opennetcf.org/sourcebrows.../ComboBoxEx.cs
From memory I don't think I've implemented the height yet (and am not sure
if you can set this on CE - couldn't see it in the list of CB_* windows
messages). Anyhow, with the above code you should be able to add this
property yourself using your desktop code sample and copying the behaviour
of the other properties.
Peter
--
Peter Foot
Windows Embedded MVP
www.inthehand.com |
www.opennetcf.org
"Benjamin Lukner" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
> Hi!
>
> I have to include some combo boxes having 11 entries each.
> But the CF ComboBox only allows a maximum of 8 entries visible at once.
> I've found some code at
> http://vbnet.mvps.org/index.html?cod...omboheight.htm that may
> work, but I have to pass the handles of the combo box and form.
>
> Is there any possibility to set the dropdown height to e.g. 15 entries?
>
> Kind regards,
>
> Benjamin Lukner