how to control dynamically on the height of the dropdown list?

Started by davidp@ensuredr.com, November 20, 2019, 12:58:49 AM

Previous topic - Next topic

davidp@ensuredr.com

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)

td

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.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade