September 15th, 2009, 10:40 AM
Thanks for the suggestion. It works for the dialog. The image still flickers. I will double buffer the drawing in the ChartViewer class.
September 14th, 2009, 08:36 AM
Thanks for the response. I suspected that might be the issue.
September 14th, 2009, 04:19 AM
I tried these techniques.
This by-passes OnEraseBkgnd:
September 12th, 2009, 08:25 PM
Thanks for the response. Just what I needed.
September 12th, 2009, 09:41 AM
I want to customize the MDI child window caption bars in my application.
This article shows an approach to skinning the caption bar:
September 4th, 2009, 03:40 AM
Keeping the thread updated in-case someone else has this problem.
I tried the AttachDispatch() method of the VS wizard generated MFC class, but still get the SEH access violation. I passed...
September 4th, 2009, 03:17 AM
And now I realize the wizard generated classes have their own AttachDispatch().
September 4th, 2009, 02:49 AM
I didn't figure out why it was happening, but this awesome class saved me from my horrible COM nightmare:
September 4th, 2009, 12:58 AM
The ActiveX component I am using successfully calls my event sink.
I get the value:
LPDISPATCH lpDispQuoteValue = V_DISPATCH(&varlValue);
I then try to use the MFC Visual Studio wizard...
September 3rd, 2009, 05:55 AM
The cast worked. I didn't actually try it. I'm sure I read somewhere it was possible to convert from enum to int but not from int to enum.
Thanks for the response.
September 3rd, 2009, 04:42 AM
I'm trying to use an ActiveX component in my MFC app. The problem is one field is being imported incorrectly.
Following line works in C# (bitmask)
August 26th, 2009, 03:43 AM
Thanks for the response. I realized almost immediately that I could probably do the same with CFormView--no need to bother with the command routing. My ActiveX control is now crashing in the...
August 25th, 2009, 11:54 PM
I have an MDI app. The app contains a CView with an embedded dialog that hosts an ActiveX control.
I can handle the MainFrame toolbar click events no problem. How can I propagate the...