Tech Support > Microsoft Windows > Development Resources > invoke SendMessage,hWnd,WM_PAINT,NULL,NULL
invoke SendMessage,hWnd,WM_PAINT,NULL,NULL
Posted by Alexandr Kalenuk on April 12th, 2004


invoke SendMessage,hWnd,WM_PAINT,NULL,NULL

How to do this stuff more civilized? I mean how to make window repaint
itself, like it happens when you hide the window and maximize it back again?


Posted by Allan Bruce on April 12th, 2004



"Alexandr Kalenuk" <alegaarden@abaddon.ntu-kpi.kiev.ua> wrote in message
news:c5duov$1kge$1@news.ntu-kpi.kiev.ua...
look up InvalidateRect()
HTH
Allan



Posted by John Carson on April 12th, 2004


"Alexandr Kalenuk" <alegaarden@abaddon.ntu-kpi.kiev.ua> wrote in
message news:c5duov$1kge$1@news.ntu-kpi.kiev.ua
Use the InvalidateRect function.


--
John Carson
1. To reply to email address, remove donald
2. Don't reply to email address (post here instead)

Posted by Alexandr Kalenuk on April 12th, 2004


1724078088

JC> Use the InvalidateRect function.
Thanks. I knew it was something sboun Invalidation :-)



Posted by Alexandr Kalenuk on April 12th, 2004


1724078088

AB> look up InvalidateRect()
Thanks.
And that might be the reason for all TextOut wonders I've mentioned before.
I'll try to replace all SendMessage WM_PAINT with InvalidateRect and see
what happens :-)




Similar Posts