Announcement

Collapse
No announcement yet.

combobox

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • combobox

    is there a way to expand a combo after filling it? I mean not by clicking on it but by application.

  • #2
    Hi Sast,
    Try this function:

    Code:
    function ForceComboDropDown(hWnd, bDropDown)
    local nDropDown=0
    if bDropDown then nDropDown = 1 end
    DLL.CallFunction("user32.dll", "SendMessageA", hWnd..", 335, "..nDropDown..", 0", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL)
    end
    To Use:

    Code:
    hWnd = ComboBox.GetProperties("ComboBox1").WindowHandle
    
    ForceComboDropDown(hWnd, true)​
    Cheers

    Comment


    • #3
      Very helpful,

      just what I was looking for!

      Thank a lot!
      Steve​

      Comment

      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎