Strange Behavior of EnableWindow on Button
I have a simple Win32 application that creates a button. Right after the button is created i disabled it using the EnableWindow(FALSE)
function from the <windows.h>
. It works normal when the button size is greater than the text applied.
But when the button size is smaller that the text of the button the client area of the entire window seems to copy the contents of the screen.
Strange Behavior of EnableWindow on Button
I have a simple Win32 application that creates a button. Right after the button is created i disabled it using the EnableWindow(FALSE)
function from the <windows.h>
. It works normal when the button size is greater than the text applied.
But when the button size is smaller that the text of the button the client area of the entire window seems to copy the contents of the screen.