Public Members

Construction/Destruction

CPen Constructs a CPen object.  

Initialization

CreatePen Initializes a pen with the specified style, width, and color.  
CreatePenIndirect Initializes a pen with the style, width, and color given in a LOGPEN structure.  

Operations

FromHandle Returns a pointer to a CPen object when given a Windows HPEN.