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.
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.
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.
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
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.
Here is an example for Buttons. Skip down to "Using Owner Drawn Buttons".
gg
thank you.
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.