Originally posted by: LanceJ
Awesome tutorial, very well written. Nice step by step approach.
Originally posted by: Prem
When there are so many articles here at codeguru
itself ?
Originally posted by: Doug Walker
This works great, thank you! However, I'm having problems getting it to work with a dynamically created button.
I'm subclassing CStatic (not CButton) and then creating an instance of my class with 'new' and the Create() function. I override PreSubclass() and use ModifyStyle to set SS_OWNERDRAW, as I saw in another sample here, but Spy++ does not report SS_OWNERDRAW on and the DrawItem function never gets called.
If anyone has any suggestions, I'm all ears.
ReplyOriginally posted by: Jackey Cui
It is really a good idea.You save my time.Thank you
Reply