In my SDI application I have three views connected ton one Document. The views are divided by splitters. On start up and when clicking new in the file menu a dialog pops up. This dialog wants the...
My application is a SDI with three splitter windows. I want to print one of the windows which contains a graph (Brian Convery's X-Y line graph). A CDC pointer pDC is passed to a function called...
In my application I will only have one document. The document will be created the first time the application is started and should never be taken away. So it was wrong of me to talk in more generall...
Hi gurus,
I am starting to see the end of my project now. Apart from the testing that needs to be done I have to go through the code to check that all memory that is allocated is also released. Is...
n is not a global variable.
I did'nt think of the possibility that I was looking at the wrong "n" in the watch. I still think it's strange that another n is incrementing while stepping through code....
My big misstace was that I did'nt let Visual Studio create a ScrollView class. I tried to do it myself but I must have missed something in the OnScroll handling.
The thread is created in the InitInstance function. Since the com port value used in the thread comes from the Document the thread should not be started before all the Serialisation of the Document....
My application contains RS232 communication. The user should be able to pick which Com port to use. The seriall interface is controlled by a separate thread. When the user pick a Com port from the...
In my application the program writes to a device through RS232 and then waits for an answer. If a correct answer has not arrived after 5 seconds the application should do a new write. Non overlapped...
In my program files are written to the ...\<project name>\Debug directory. The files should be displayed in a list to let the user pick a file in the list. It works fine when I run the program by...