LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Finding window handle of data validation listbox

To widen the display of the data validation drop down, I could
SendMessage(lExcelDataValidationComboboxWindowHand le, 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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Data Validation (Listbox) NoodNutt Excel Worksheet Functions 6 March 8th 08 12:35 PM
Data Validation Listbox problem RASEnt Excel Programming 0 June 12th 05 11:47 PM
Window Handle pod Excel Programming 2 April 19th 05 10:43 PM
Data Validation Window? Ken Excel Discussion (Misc queries) 1 January 11th 05 10:48 PM
ListBox ( finding supporting data not in the list) TK Excel Programming 0 August 31st 04 03:37 AM


All times are GMT +1. The time now is 11:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"