This member function selects a CGdiObject object that corresponds to one of the predefined stock pens, brushes, or fonts.
virtual CGdiObject* SelectStockObject ( int nIndex );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
Windows CE does not support the following stock object values in the nIndex parameter.
ANSI_FIXED_FONT
ANSI_VAR_FONT
DEFAULT_PALETTE
OEM_FIXED_FONT
SYSTEM_FIXED_FONT
CDC Overview, CDC Member Functions, Graphical Drawing Classes, CGdiObject