I need to implement an edit control that has multiple lines. What's stopping me from using a CEdit is that the lines may not be of the same width or have the same left margin. The control needs to have the same functionality as CEdit as far as mouse and keyboard input.
Here's a typical instance ('xxx' is static text, '___' is where the edit control needs to be):
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…
The undo support, implementing a stack.
Continuing from the eigth article about sudoku.
We need a mechanism to keep track of the digits entered so as to implement an undo mechanism. This should be a ‘Last In First Out’ collec…