GDI OBJECTS
The CDC provides 5 versions for the GDI objects. They are fonts, brushes, pens, bitmaps and regions. The Select Object function substitutes the current GDI object with the object specified as the parameter. The GDI object CPen can use the following macro to identify the pen style.
PS_SOILD
PS_DASH
PS_DOT
PS_DASHDOTDOT