라벨이 GetStockObject()인 게시물 표시

[Win 32 API] GetStockObject Function

The GetStockObject function retrieves a handle to one of the stock pens,brush,fonts, or palettes. Syntax HGDIOBJ GetStockObject( __in  int fnObject ); Parameters The type of stock object. This parameter can be one of the following values. Value Meaning BLACK_BRUSH Black brush. DKGRAY_BRUSH Dark gray brush. DC_BRUSH Solid color brush. The default color is white. The color can be changed by using the  SetDCBrushColor  function. For more information, see the Remarks section. GRAY_BRUSH Gray brush. HOLLOW_BRUSH Hollow brush (equivalent to NULL_BRUSH). LTGRAY_BRUSH Light gray brush. NULL_BRUSH Null brush (equivalent to HOLLOW_BRUSH). WHITE_BRUSH White brush. BLACK_PEN Black pen. DC_PEN Solid pen color. The default color is white. The color can be changed by using the  SetDCPenColor  function. For more information, see the Remarks section. NULL_PEN NULL pen. The null pen draws nothing. WHITE_PEN White pen. ANSI_FIXE...