CXYChart::AddDataPopupMenus
CXYChart::AddChartTypePopup
CXYChart::AddLineSizePopup
CXYChart::AddMarkerPopup
void AddDataPopupMenus( int whichDataSet, CMenu *menu, int startVal );
void AddChartTypePopup( CMenu *addMenu, LPCSTR titleString, long compare, int startVal );
void AddLineSizePopup( CMenu *addMenu, LPCSTR titleString, int dataID, int startVal );
void AddMarkerPopup( CMenu *addMenu, LPCSTR titleString, int dataID, int startVal );
Parameters
- whichDataSet - The index of the data set in question
- addMenu - A pointer to the menu to add the sub-menu to
- titleString - A string to set the title of the sub-menu to
- compare - A value to compare to (the current setting) to set the check mark correctly
- dataID - The dataID of the data set in question
- startVal - The starting menu item number of the sub-menu
Description
These various utility functions add sub-menus that may be created several different times. They are just time and code savers.
CXYChart Reference | CPlot Reference