I was wondering which message do i have to handle in order to change the background color of a button/groupbox.
Ive already tried:
It doesnt work, ive tried it using a button and a groupbox, and on both tries none of them has worked.Code:case WM_CTLCOLORBTN: { HBRUSH hBrush = CreateSolidBrush(RGB(0, 255, 0)); return (long)hBrush; break; }