How can I add a button with OnClick event, or a label, to the bottom of the drop-down list for a VCL TComboBox
? Even if it is empty.
Native ComboBox controls do not support what you are asking for.
However, you can use the Win32 API GetComboBoxInfo()
function to get the HWND
of the drop-down list and then use the Win32 API to manipulate it directly, like adding child windows to it, subclassing it to intercept window messages, etc.