I have a win32 button control (no mfc), it all works fine, except one thing.
I send the WM_SETTEXT to default processing, this makes the button repaint. The problem is that when the button repaints like this it paints the classic win32 button.
I can solve this by redrawing the window again, this works fine. But I get a nasty flicker with the old button.
Is there any way I can change the window's text without redrawing or sending the message to DefWindowProc? Or is there a reason this makes the window get drawn by it?
The text is not used in the button's skin, it's just used for accesibility (narrator).
Any help is appreaciated.
Start Free Trial