Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than gdi32, prefix the name with the module name and a period.
private const int WHITE_BRUSH = 0;
private const int LTGRAY_BRUSH = 1;
private const int GRAY_BRUSH = 2;
private const int DKGRAY_BRUSH = 3;
private const int BLACK_BRUSH = 4;
private const int NULL_BRUSH = 5;
private const int HOLLOW_BRUSH = NULL_BRUSH;
private const int WHITE_PEN = 6;
private const int BLACK_PEN = 7;
private const int NULL_PEN = 8;
private const int OEM_FIXED_FONT = 10;
private const int ANSI_FIXED_FONT = 11;
private const int ANSI_VAR_FONT = 12;
private const int SYSTEM_FONT = 13;
private const int DEVICE_DEFAULT_FONT = 14;
private const int DEFAULT_PALETTE = 15;
private const int SYSTEM_FIXED_FONT = 16;
private const int DEFAULT_GUI_FONT = 17;
private const int DC_BRUSH = 18;
private const int DC_PEN = 19;
User-Defined Types:
None.
Notes:
None.
Tips & Tricks:
Please add some!
Sample Code:
Please add some!
Alternative Managed API:
Do you know one? Please contribute it!
The GetStockObject function retrieves a handle to one of the stock pens, brushes, fonts, or palettes.
12/22/2010 8:52:58 AM - -41.234.163.150
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).