在 My_Res view. h中的 class CMy_Res view: public Cview 中的 public处加入如下声明: COLORREF m colors(3];O户可选颜色数组 DWORD m cOloriNdex;∥当前所选颜色索引 CString m_-strShow;∥显示的内容 BOoL m show;∥是否显示7 在My_ResView.h中的 class CMy_ResView : public Cview 中的public处加入如下声明: COLORREF m_nColors[3]; //用户可选颜色数组 DWORD m_nColorIndex; // 当前所选颜色索引 CString m_strShow; // 显示的内容 BOOL m_bShow; // 是否显示