Buttons in CListCtrl icon style
-
Hi, I need to create a CListCtrl icon style with buttons instead of the icons. Does anyone know how to do this? I have looked for articles on this, but can't seem to find anything. Any help appreciated, Royce
I really do not understand why would you need a button in a CListCtrl. I haven't seen anything like that, however this[^] or this[^] may help you. Regards, Rajesh R. Subramanian. You have an apple and me too. We exchange those and We have an apple each. You have an idea and me too. We exchange those and We have two ideas each.
-
I really do not understand why would you need a button in a CListCtrl. I haven't seen anything like that, however this[^] or this[^] may help you. Regards, Rajesh R. Subramanian. You have an apple and me too. We exchange those and We have an apple each. You have an idea and me too. We exchange those and We have two ideas each.
Rajesh, Thanks for your help. However, both of these articles (and all of the others that I have seen) address custom drawing in a report or list style CListCtrl, but not in an icon style control. I need to the behavior of the icon style, but with buttons instead of the icons. My application needs to allow a co-pilot or flight engineer to push a button with a gloved finger. Each button, when pushed will invoke functionality specific to the button. The bitmap button works well for this purpose as I need to change the button's appearance, i.e., bitmap, text, background color, etc., depending on the aircraft selected. (I have tried to put a screen shot here to show you, but couldn't get the GIF to show up.) Royce