Board index » cppbuilder » changing the dropdown button of a combo

changing the dropdown button of a combo


2005-04-06 05:50:55 PM
cppbuilder32
Is it possible to change the glyph of the dropdown button of a
combobox? Sort of ownerdrawing the edit part.
Thanx
Giovanni
 
 

Re:changing the dropdown button of a combo

One way is to override the combobox's wndproc, check the TMessage
structure for the WM_PAINT message, and draw the bitmap you want over
the glyph using TControlCanvas or GetWindowDC.
Kent
Quote
Is it possible to change the glyph of the dropdown button of a
combobox? Sort of ownerdrawing the edit part.