I am writing a MDI application that has multiple document templates. On start up, there is one document type that I want to open and not let the user close/destroy. I want to disable the close button (X) in the corner of the CMDIChildWnd. I have seen how to use PreCreateWindow to change the style for the minimize and maximize controls; but I haven't figured out how to disable the close.
Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.
Ownerdraw of the grid button. A singleton class implentation and usage.
Continuing from the fifth article about sudoku.
Open the project in visual studio.
Go to the class view – CGridButton should be visible as a class. R…
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…