CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: CCmdTarget

Search: Search took 0.03 seconds.

  1. Re: How to avoid flickering of controls on CFormview

    Thanks for the suggestion. It works for the dialog. The image still flickers. I will double buffer the drawing in the ChartViewer class.
  2. Re: How to avoid flickering of controls on CFormview

    Thanks for the response. I suspected that might be the issue.
  3. Re: How to avoid flickering of controls on CFormview

    I tried these techniques.

    This by-passes OnEraseBkgnd:


    void CTRChartFormView::OnInitialUpdate()
    {
    CFormView::OnInitialUpdate();
    ...
  4. Replies
    2
    Views
    1,412

    Re: MDI Child Window Caption Styles

    Thanks for the response. Just what I needed.
  5. Replies
    2
    Views
    1,412

    MDI Child Window Caption Styles

    I want to customize the MDI child window caption bars in my application.

    This article shows an approach to skinning the caption bar:

    http://www.codeproject.com/KB/dialog/skinedcaptionbars.aspx...
  6. Replies
    3
    Views
    1,802

    Re: ActiveX/COM Event Sink problem

    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...
  7. Replies
    3
    Views
    1,802

    Re: ActiveX/COM Event Sink problem

    And now I realize the wizard generated classes have their own AttachDispatch().
  8. Replies
    3
    Views
    1,802

    Re: ActiveX/COM Event Sink problem

    I didn't figure out why it was happening, but this awesome class saved me from my horrible COM nightmare:

    http://www.codeproject.com/KB/COM/comdispatchdriver.aspx
    ...
  9. Replies
    3
    Views
    1,802

    ActiveX/COM Event Sink problem

    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...
  10. Re: ActiveX - bitmask field imported as enum

    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.
  11. ActiveX - bitmask field imported as enum

    Hi

    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)

    client.Connection =...
  12. Re: Routing MFC toolbar command message to a dialog

    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...
  13. Routing MFC toolbar command message to a dialog

    Hi

    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...
Results 1 to 13 of 14





Click Here to Expand Forum to Full Width

Featured