Dear
Sean,
Sean wrote:
Skan wrote:
Sean, Why the
shlwapi\SHAutoComplete does not work with a ComboBox control ?

SHAutoComplete must be appied to Edit controls.
So, in ComboBox case, first have to find its (child) Edit control. E.g.,
Code:
Gui, Add, ComboBox, w640 HWNDhMyCombo
ControlGet, hMyEdit, hWnd,, Edit1, ahk_id %hMyCombo%
SHAutoComplete(hMyEdit)
Gui, Show
Return
I am facing difficulties in setting the number of items in DDL of ComboBox
I tried the XP-specific message:
CB_SETMINVISIBLE and though it returns a True, the number of items shown is always
7 ( as the case with the
Run dialog )
I am trying to convince the ComboBox to dropdown atleast 45 items when I am typing a filepath! I am able to resize the DDL with the size-grip manually, but the control defaults to 7 items on every run.
How to programmatically set the DDL rows ?
Here is a snapshot example:
