   How to change the color of Button
  Dear Members,I need to color a button using ATL, WTL or WIN 32 API..I can easily do it using MFC but because of the Application requirementI have to do it by using the above mentioned technologies only.Kindly help me out by sending tips and useful codes.Regards,Mayank Srivastava    
  Using Win32 API, you can try these two function. You will need to be able to get the handle of the button though, unless you have the handle to the DC, then you only need the top function.COLORREF SetBkColor(  HDC hdc, // handle to DC  COLORREF crColor   // background color value);HDC GetDC(  HWND hWnd   // handle to window);   ;  specify the BS_OWNERDRAW flag when calling CreateWindow, then use a bitmap to draw the button.   