Search:
Type: Posts; User: Mike Harnad
Search:
Search took 0.33 seconds.
-
November 16th, 2012, 09:49 AM
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,...
-
October 11th, 2012, 09:11 AM
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...
-
September 19th, 2012, 08:42 AM
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...
-
August 6th, 2012, 07:18 AM
All,
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.
-
January 16th, 2012, 10:41 AM
If I were you, I would look to OpenGL.org for the info you need. They've got plenty of resources there.
-
November 16th, 2011, 10:20 AM
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...
-
October 6th, 2011, 08:14 AM
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...
-
September 27th, 2011, 07:51 AM
Vlad, that's a good point. I assumed he meant a group box control.
-
September 26th, 2011, 03:18 PM
-
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.
-
Actually, it is a CButton. As I stated earlier, a radio button is a style (ie. BS_RADIOBUTTON) applied to a CButton. Just a matter of semantics.
-
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...
-
You may also want to try Microsoft's Application Verifier. It's not the best way to debug, but, it can spot things that are missed by other means.
-
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...
-
Yes, a radiobutton is a style applied to a CButton, so, you'll need to make sure BS_OWNERDRAW is also applied.
-
Did you specify BS_OWNERDRAW for the button style?
-
Have you stepped through the OnDrawItem code? Is your code executed?
-
VS 2008 changed the way theme support is handled. Try adding this to you stdafx.h file:
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls'...
-
Custom build steps allow you to apply batch commands to a project or files. For example, we use it to copy target files to another folder.
-
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...
-
April 4th, 2011, 10:28 AM
Try running with the DirectX debugging applet. It should point out any errors you may have.
-
February 10th, 2011, 01:46 PM
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...
-
February 10th, 2011, 11:04 AM
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...
|
Click Here to Expand Forum to Full Width
|