To widen the display of the data validation drop down, I could
SendMessage(lExcelDataValidationComboboxWindowHandle, CB_SETDROPPEDWIDTH,
cWidth, 0), but to do so I need the handle of the dropdown.
I can get as far as the handle of the Excel workbook window with the
technique described by Bullen, Bovey and Green, but I don't know what
classname to iterate with lExcelDataValidationComboboxWindowHandle =
FindWindowEx(hWorkbookWindowHandle, 0, "classname", vbNullString) on that
window to find the drop down. Is it a combobox? Or something else?
Thanks,
Mike Gardner
Bookmarks