--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:

> 
> Not sure what you mean by hard coded, but the code I posted
> attempts to set the combo box height to minimum of 250 and the
> specified button height. Teh docs I have seen say the the height
> specified for comb boxes is the height with drop down (the size
> of the undropped down edit is set automatically by the system
> based on the font and cannot be changed is my understanding).
> There are no dialog units in my case AFAIK as I am not using
> dialog box processing.

The height of my *closed* combo box measures 25 pixels regardless of
the button height. Button height of 25 is the last one where the list
window is operable. At buton height of 26 the list window is 2 pixels
tall instead of 206.

They're not a singular thing, the nondropped combo and the list box.
If you give the bar topmost property, the list window opens behind the
bar (i.e., when the button height is less than 26).

Also, when I put fewer items into the combo box than would fill 206
pixels, the list window is only as tall as it needs to be to show the
items (less than 206) when dropped (provided it started out large
enough to begin with).

Regards,
Sheri

Reply via email to