--- In [email protected], "Sheri" <[EMAIL PROTECTED]> wrote:
>
> Hi Bruce,
> 
> Maybe there is something you can do about this sometime. Below the
> script is my output, which shows that on my PC, a combo box will be 

Sorry, Shery, I remember I played around with this a lot and could 
never get it to perform reliably.  Its something in the Windows 
creates combo boxes and sets their size that I don't understand.  I'm 
afraid I don't plan to try again.


But here is the code I use in case anyone else can spot something.

                hei=tbi->button[i].height;  //the specified height
                if (strcmpi(szName, "combobox")==0)
                {
                        hei=max(hei, 250);  // min drop down is 250?
                }
                tbi->button[i].hwndCtrl = 
                        CreateWindowEx(xopts,pName, "",
                        (tbi->button[i].flags&BUTTONBAR_ANYHIDDEN?
0:WS_VISIBLE)|WS_CHILD |WS_TABSTOP|opts,
                tbi->button[i].left, tbi->button[i].top,tbi->button
[i].width,hei ,
                hwndTB, i+1, vhInstance, NULL);

Its some kind of interaction between the bar heidht and the combo 
button and possibly other controls on the bar, I suspect.


Reply via email to