how to call default drawing when I use owner_draw?
-
I'd like to use owner_draw on a button, but I'd like to draw a little bit and let windows draw the left. How can I do this?
If I remember correctly, you could call
Default()
(but I've been proven wrong many times) In my experience, either you do it or not do it; there is no middle ground when owner drawing controls.This signature was proudly tested on animals.
-
I'd like to use owner_draw on a button, but I'd like to draw a little bit and let windows draw the left. How can I do this?
call DrawFrameControl[^] to get the default drawing.
-
I'd like to use owner_draw on a button, but I'd like to draw a little bit and let windows draw the left. How can I do this?
The easiest way is probably to let the button draw itself then draw over the top of it - so, call
DefWindowProc
at the start of your owner draw handler then do your own drawing