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.
MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms. Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go. MFC has a very cool system for handli…
Hints for the grid button. Nested classes, templated collections. Squash that darned bug!
Continuing from the sixth article about sudoku.
Open the project in visual studio.
First we will finish with the SUD_SETVALUE messa…