I am trying to create a dialog that is very similar to a standard windows progress dialog. On my dialog, I have a cancel button. How can I perform a continuous action upon opening the dialog until the user presses the cancel button? I have tried using PeekMessage but can't seem to get the application to Yield. I currently have a processing loop in the Timer so that I can start the timer after the dialog is initialized and displayed. Is there somewhere else I should be doing the processing? How do I allow the cancel button to be pressed while in my processing loop and then detect that it was pressed? Thanks in advance for any input!
Managing Active Directory does not always have to be complicated. If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why
Load and Save to file, Document-View interaction inside the SDI.
Continuing from the second article about sudoku.
Open the project in visual studio.
From the class view select CSudokuDoc and double click to open the header …
Exception Handling is in the core of any application that is able to dignify its name.
In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.