An application that I work on allows 3rd party developers to write dlls that add value to our product. The only requirement we have is that the DLL must be an MFC extension dll. This, of course,...
Thanks for the reply. However, I don't think your sample is applicable here. IProgressDialog creates a separate thread to do its work. And, there is no mention in the documentation that using a...
I am using an IProgressDialog object to reflect the progress during a long operation. Through experimentation, I've noticed that the Cancel button is not responsive if I pass a non-NULL handle as...
There's no reason to guess at the cause. If you follow the link in my prior response and implement the IDE configuration tweak it speaks of, you'll know what the exact cause is.
Since your timer consumes most of the processing time (ie. every 1ms), you have effectively suspended the UI thread preventing it from updating the form in real time. With heavy cpu usage, you'll...
If I were you, I'd take the advice of GCDEF. Using a text control to define "child" areas on a dialog is pretty standard practice. You may run into some rendering and message problems if you use a...
As Victor stated, you typically derive your own control class and modify the code accordingly. I usually chage styles within the PreSubclass event. Once you've changed the style, MFC will recognize...
You can modify the button style yourself and add BS_OWNERDRAW using ModifyStyle (). MFC will then provide you with the opportunity to render the radio button any way you like.
luk, you guessed right. The server that runs in the background is accessible from the task bar. It has a menu of options, one of which is to view our event log. Note: the event messages are not...
As ovidiucucu says, it's not an easy task to use the Windows event logging api. That's why I wrote my own event logging mechanism. Surprisingly, it's not difficult. I exported a method that uses...
In VS2010, this problem is typically casued by a header file that has been physically deleted, but, not removed from the project. You can determine what header it is by enabling Project System...
You might be able to accomplish that by adding a custom build step. I'm not sure what the Express versoin will allow, and, keep in mind, you will be deleting some potentially helpful information...
I have resolved this. I did not realize that the process I was debugging was a 32 bit process on 64 bit Win7. Therefore, I needed to start RunDll32 from SysWow64 and load the control panel applet...
Does anyone know how to debug a control panel applet on Win7? The typically way of using RunDLL32 does not appear to work. I can't set breakpoints and it appears that UAC looks upon RunDll32 as a...