I am using WM_InvalidateWindow() to invalidate a customized button widget. With this API, only the button will get invalidated or will the adjacent area will get refreshed too? I need only that button to change appearance (color of text on button to blue) and area other than this button should remain unaffected.
Also, What exactly is the difference between WM_Invalidate() and WM_InvalidateWindow().
Also, What exactly is the difference between WM_Invalidate() and WM_InvalidateWindow().