Jump to content
Software FX Community

Disabling ChartFX Control


User (Legacy)
 Share

Recommended Posts

Hello, 

I'm using ChartFX in my VC++/MFC app as follows:

m_ChartFXWnd.CreateControl(__uuidof(ChartFX), "", WS_VISIBLE | WS_CHILD,

m_ViewRect, m_pParentWnd, 1);

m_pChartFX = m_ChartFXWnd.GetControlUnknown();

The m_ChartFXWnd is in turn imbedded in a CView. I'd like to disable the

m_ChartFXWnd and let the parent CView handle all messages until such time

that I "enable" the embedded m_ChartFXWnd.

I've tried to disable the m_ChartFXWnd via:

m_ChartFXWnd.EnableWindow(FALSE);

but the underlying m_pChartFX control is still grabbing the messages.

How do I disable the control itself?

Thanks,

Craig Murray

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...