[wxMSW,wxGTK] wxChoice, height of dropdown list

Vadim Zeitlin vadim at wxwidgets.org
Thu Dec 20 17:18:33 PST 2007


On Thu, 20 Dec 2007 22:59:06 +0100 "Carsten A. Arnholm" <arnholm at offline.no> wrote:

CAA> I have been playing with the idea of creating another control, almost 
CAA> identical to wxChoice, but it would always use a wxListBox as the drop down, 

 Looks a lot like wxComboBox to me.

CAA> I was thinking the new control could inherit from wxChoice and create a 
CAA> wxListBox on top of other windows in a handler for wxEVT_LEFT_DOWN.
CAA> 
CAA> Would this be a bad idea? Or maybe it has been done before?

 It would certainly be more complicated than finding a way to set the size
of the combobox drop down...

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/




More information about the wx-users mailing list