The dialog has some edit controls. When ever I press the INSERT key the execution control should go to some function that is defined by me.How to write code for this key?
Note: The application is dialog based VC++ application.
Use claswwizard and override the PreTranslateMEssage() as follows:
BOOL CMyDlg::PreTranslateMessage(MSG* pMsg)
// TODO: Add your specialized code here and/or call the base class
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…
Dialogs (1) modal - maintaining the database.
Continuing from the ninth article about sudoku.
You might have heard of modal and modeless dialogs. Here with this Sudoku application will we use one of each type: a modal dialog …