Hi Jaakko, Thanks. We won't need to now courtesy of mmwx. This one works nicely. :-)
Cheers. Hi, On 3.5.2010 1:42, Francesco wrote: > 2010/5/1 sdfkjsjlh sdbfgsfsdg <sdfkjsjlhsdbfgsf...@yahoo.com>: >> I'm not aware of a drop-down control like this in wx. A quick search failed >> to find one. >> Which one did you have in mind? > actually after better checking I see there's no exactly a drop-down > button in wx but probably it could be realized using > wxOwnerDrawnComboBox ror wxBitmapComboBox.. > I think wxOwnerDrawnComboBox with wxCB_READONLY style could work, assuming you sub-class it and override EVT_PAINT handling to actually draw button graphics on it. This may not be ideal, however, since AFAIK drop-down menus of drop-buttons tend to have menu-like appearance. It could be better to just implement a new wxDropButton control based on wxBitmapButton and (popup) wxMenu. Regards, Jaakko
------------------------------------------------------------------------------
_______________________________________________ wxCode-users mailing list wxCode-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxcode-users