WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: davidp@ensuredr.com on November 20, 2019, 12:58:49 AM

Title: how to control dynamically on the height of the dropdown list?
Post by: davidp@ensuredr.com on November 20, 2019, 12:58:49 AM
i tried using this but it didn't worked:


  CB_SETMINVISIBLE = 5889
  hWnd = DialogControlGet(handle, dropDownName, @dchWnd)
  result = DllCall('user32.dll', long:'SendMessageW', long:hWnd, long:CB_SETMINVISIBLE, long:5, long:0)
Title: Re: how to control dynamically on the height of the dropdown list?
Post by: td on November 20, 2019, 08:38:56 AM
You can change the width but you can't easily change the height of the dropdown list part of the control once the size is set at creation.  Haven't tried but you could theoretically change the height of the list by changing the font.  However, that more or less defeats the purpose.
Title: Re: how to control dynamically on the height of the dropdown list?
Post by: davidp@ensuredr.com on November 20, 2019, 11:16:10 PM
ok thanks!