Combobox style pop-up window

B

Bj?rn Mor?n

Is it possible to create a custom drop down control much like the
existing Combobox, but with my own content on the drop down area? I
have special needs, for instance to include a Textbox and a Button on
the drop down area.

I cant figure out what kind of window the drop down area is. It must
be a window since it can cross the parent form boundaries, but at the
same time it doesn't remove the focus from the parent window so it
acts like a regular form control. To create such a "hybrid", do I have
to use the NativeWindow class, or has it all to do with redirecting
window messages from the popup window to the parent window?

The ideal situation would be to have some kind of free floating
"PopupPanel" control that could be added to a form, but that isn't
restricted to parent form boundaries. Any clues on how to write such a
control?

Regards,
Björn Morén
Stockholm
Sweden
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top