Case WM_CTLCOLORBTN:
{
HDC HDC edit =(HDC)wParam; SetTextColor(hdcEdit,RGB(0,0,0)); //Black
SetBkColor(hdcEdit,RGB(255,255,255)); //White
return(INT _ PTR)create solid brush(RGB(255,255,255));
}
LParam is the HWND of the button at this time. If there are multiple buttons, you can compare them by (HWND)lparam.