LineStyleCombo.h
Upload User: kairuinn
Upload Date: 2009-02-07
Package Size: 2922k
Code Size: 1k
Category:

Graph program

Development Platform:

Visual C++

  1. #if !defined(AFX_CLineStyleCombo_H__8AAE34F7_7B02_11D3_A615_0060085FE616__INCLUDED_)
  2. #define AFX_CLineStyleCombo_H__8AAE34F7_7B02_11D3_A615_0060085FE616__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000 
  6. class CLineStyleCombo : public CComboBox
  7. {
  8.   // @access Public Member Functions and Variables
  9. public:
  10.   // @cmember
  11.   // constructor
  12.   CLineStyleCombo();
  13.   // @cmember,mfunc
  14.   // destructor
  15.   virtual ~CLineStyleCombo() {}
  16. protected:
  17.   // @cmember
  18.   // Called by MFC when visual aspect of combo box changes 
  19.   virtual void DrawItem(LPDRAWITEMSTRUCT lpDIS);
  20.   virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMIS);
  21.   //virtual int AddString(LPCTSTR lpszString) { return -1; }
  22.   virtual int InsertString(int nIndex, LPCTSTR lpszString) { return -1; }
  23.   virtual int DeleteString(int nIndex) { return -1; }
  24. #ifdef _DEBUG
  25.   virtual void PreSubclassWindow();
  26. #endif
  27. // @access Private Member Functions and Variables
  28. private:
  29. public:
  30. DECLARE_MESSAGE_MAP()
  31. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  32. };
  33. //{{AFX_INSERT_LOCATION}}
  34. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  35. #endif // !defined(AFX_CLineStyleCombo_H__8AAE34F7_7B02_11D3_A615_0060085FE616__INCLUDED_)