what does it mean "owner draw", and how can I do it, can someone point me to a good tutorial on the subject?
Thank you.
Printable View
what does it mean "owner draw", and how can I do it, can someone point me to a good tutorial on the subject?
Thank you.
It means your application takes care of the drawing and painting of a control. Normally, your control knows how to draw itself, but often you want to customize its look to a greater extent.
For example, buttons. If you specify the WM_OWNERDRAW style for a button, you should handle the WM_DRAWITEM event sent to the parent windows' window procedure to draw the button in its various states.
can you please direct me to an example, using plain api
Here is an example for Buttons. Skip down to "Using Owner Drawn Buttons".
gg
thank you.