Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Icon + text inside ArrayCtrl cell
Icon + text inside ArrayCtrl cell [message #40959] |
Mon, 14 October 2013 10:47 |
crydev
Messages: 151 Registered: October 2012 Location: Netherlands
|
Experienced Member |
|
|
Hello,
I have a question about customized ArrayCtrl cells. I currently have an ArrayCtrl with two columns, both filled with text. I would like to have the first column contain an icon and the text after it. The icon is HICON format, because I need to retrieve the icon associated to a window enumerated with EnumWindows. If a HICON is NULL, nothing should be drawn.
I am aware of using the Display struct with column specific draw methods. However, I just don't know how to draw this in the control. How can I draw it inside the cells?
Thanks in advance,
crydev
|
|
|
Goto Forum:
Current Time: Fri Apr 19 13:43:03 CEST 2024
Total time taken to generate the page: 0.04987 seconds
|