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