HGDIOBJ GetStockObject( int fnObject // stock object type);
WNDCLASS mywnd; mywnd = (HBRUSH)GetStockObject(GRAY_BRUSH); //设置成灰色画刷