Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

UpdateWindow(hwnd) not call WM_PAINT, but DestroyWindow(hwnd) call WM_PAINT

$
0
0

i had develop code with hwnd on UpdateWindow parameter and hButton on DestroyWindow parameter,

i bulit menu WM_COMMAND for disable/enable this hButton with DestroyWindow on WM_PAINT and UpdateWindow on my WM_COMMAND LOWORD(WPARRAM)

what i'm confused is when i use UpdateWindow  is not call WM_PAINT for paint my enable/disable button, but i put DestroyWindow on WM_COMMAND, it's call WM_PAINT

can somebody had solution for this

TQ


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>