

#include "colorsample.hpp"


int __stdcall WinMain( HINSTANCE, HINSTANCE, LPSTR, int ) {

  LOGBRUSH lbrush = {
      BS_SOLID,
      RGB( 255, 200, 200 ),
      0 }; // ignored
  HBRUSH brush = ::CreateBrushIndirect( &lbrush );

  createSysColorSample( brush );

  MSG msg;
  while( ::GetMessage( &msg, 0,0,0 ) > 0 ) {
    ::TranslateMessage( &msg );
    ::DispatchMessage( &msg );
  }

  ::DeleteObject( brush );

  return 0;
}



