How can I change the attributes of my CPen object without creating a new pen?
The reason for this is, I have a global CPen object:
Many places in my application requires me to change the pen style & color and select the same pen? How can I change the style & color for gPen?
I do not want to create a new pen because that defeat my purpose to have just one global pen. Thanks much.