[MFC] Draw a circle into CSatic
I have a prob and i could not resolve it. I have a Static activex and i wanna draw some circles into it, do somebody know how??
Thank You. :cryin:
Re: [MFC] Draw a circle into CSatic
What do you understand by static activex?
If the activex is rendered windowless u just have to draw over the area the activex is in place.
If the activex is not windowless, and it's having its own window, subclass the speciefied window and try"overwriting" WM_PAINT,WM_ERASEBACKGROUND messages. However, it may not work efficient enought if the activex is calling its drawing procedures directly (without calling for InvalidateRect, RedrawWindow, etc. functions) as a response for some events (like clicking on it).
|All times are GMT +5.5. The time now is 19:57.|