User (Legacy) Posted February 19, 2004 Report Share Posted February 19, 2004 Hello, I can't find the constants you use (ChartFX.H) e.g. HRESULT _hr = m_pChartFX->Stacked _hr = 0x00120000 or _hr = 0x00880000 _hr.LOWORD (0000) seems to be the CM_SETSTACKED Value (here: CHART_NOSTACKED) but what means the _hr.HIWORD (0012 or 0088), which defines do you use? Thanks Mike Link to comment Share on other sites More sharing options...
Software FX Posted February 20, 2004 Report Share Posted February 20, 2004 If you are using the XOM object, you don't need to use ChartFX.H, this file is used only if you are using the DLL'd flat API (compatibility with older versions). When you do #import, all enumerations are going to be imported along with all the interfaces, classes, properties and methods. In particular, if you check the type of Stacked, you will see that it is of type CfxStacked with is an enumeration declared as follows: enum CfxStacked { CHART_NOSTACKED = 0, CHART_STACKED = 1, CHART_STACKED100 = 2 }; So you basically need to use the constants as they appear in the docs. -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.