- - * - WhiteUnicorn - * - -




* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >


Frequently Asked Questions

Determining if a combobox is in dropped state.

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;



* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >



- - * - Anastasija aka WhiteUnicorn - * - - LJLiveJournal
PFPhotoFile