Главная страница | назад





Article #17932: Determining if a combobox is in dropped state.

 Question and Answer Database

FAQ2932D.txt   Determining if a combobox is in dropped state.
Category   :VCL
Platform    :All
Product    :All 32 bit  

Question:
How can I determine if a ComboBox is in a dropped down state?


Answer:
Send a CB_GETDROPPEDSTATE message to the ComboBox.

Example:

  if SendMessage(ComboBox1.Handle,
                 CB_GETDROPPEDSTATE,
                 0,
                 0) = 1 then begin
{do something}
end;


7/16/98 4:31:28 PM
 

Last Modified: 01-SEP-99