I am trying doing subclassing in Winapi. I want to change the background color when mouse is over the button. But I am not getting the desired output.The code has been attached.
I am just getting a small portion of the window to be painted red instead of the entire window that I desire.
Any suggestions would be appreciated!