Jump to content
Software FX Community

Disabling ChartFX Control


User (Legacy)

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...