Hi!
If I create with PB a Combobox I can set the dropdownheight of the Combobox :
Control Add Combobox, hDlg, %IDC_cbxIndex, , 55, 15, 45, 170 <-- dropdownheight
I will determine how many items the user can see.
But in the FireFly i can't change the Value of the height.
Thanks for any help.
Fürstauer Rudolf
----------------
I find out the solution! (just using my brain :wink: )
Call FF_Control_GetSize (HWND_FRMZYLINDER_CBOZYLINDER(0), lWidth, lHeight)
Call FF_Control_GetLoc (HWND_FRMZYLINDER_CBOZYLINDER(0), lLeft, lTop)
Call MoveWindow HWND_FRMZYLINDER_CBOZYLINDER(0), lLeft, lTop, lWidth, 300, %FALSE
300 is the new height.
thank's
Fürstauer Rudolf
Cool! Sorry I never helped you out. Your post got lost in my maze of unanswered posts and emails. :)
The following should also work:
FF_Control_GetSize HWND_FRMZYLINDER_CBOZYLINDER(0), lWidth, lHeight
SetWindowPos HWND_FRMZYLINDER_CBOZYLINDER(0), 0, 0, 0, lWidth, 300, %SWP_NOMOVE Or %SWP_SHOWWINDOW Or %SWP_NOZORDER
It's much better, because 33% less then my code :wink:
Thanks
--------------------------
Fürstauer Rudolf