开发者

Add a image to RadioButton in a ListBox

开发者 https://www.devze.com 2023-01-05 19:16 出处:网络
I have a List Box hwich is modified in a such a way that e开发者_如何学Pythonach row will have Radiobutton .Now my requirement is each of these Radio button must have a bitmap image followed by some t

I have a List Box hwich is modified in a such a way that e开发者_如何学Pythonach row will have Radiobutton .Now my requirement is each of these Radio button must have a bitmap image followed by some text . i have codejock xtremetoolkit 13.4.0 installed . I am new to UI design and xtreme toolkit.Can any one help me out please.


You have to make the listbox owner drawn and then overload the WM_PAINT message for Radiobutton so that the picture and text can be painted. For more information on owner drawn list box see this link: CListBox::DrawItem

For more information on owner drawn button see this link: CButton::DrawItem

Hope this helps!

0

精彩评论

暂无评论...
验证码 换一张
取 消