I am changing the drop down width of a combo box to fully display the
longest string in the list with %CB_SETDROPPEDWIDTH. How can I determine
the width in pixels of the longest string in the list so I know the required
dropdown width (pixels) to use? Currently I use an arbitrary value (yuk!).
(Control Send hDlg, %ID_UserID, %CB_SETDROPPEDWIDTH, 200&, 0&)
Thanks,
Ron
longest string in the list with %CB_SETDROPPEDWIDTH. How can I determine
the width in pixels of the longest string in the list so I know the required
dropdown width (pixels) to use? Currently I use an arbitrary value (yuk!).
(Control Send hDlg, %ID_UserID, %CB_SETDROPPEDWIDTH, 200&, 0&)
Thanks,
Ron
Comment