LineThiknessCombo.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_CLineThiknessCombo_H__8AAE34F7_7B02_11D3_A615_0060085FE616__INCLUDED_)
  2. #define AFX_CLineThiknessCombo_H__8AAE34F7_7B02_11D3_A615_0060085FE616__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000 
  6. class CLineThiknessCombo : public CComboBox
  7. {
  8. public:
  9.   CLineThiknessCombo();
  10.   virtual ~CLineThiknessCombo() {}
  11. protected:
  12.   virtual void DrawItem(LPDRAWITEMSTRUCT lpDIS);
  13.   virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMIS);
  14. public:
  15.   //virtual int AddString(LPCTSTR lpszString) { return -1; }
  16.   virtual int InsertString(int nIndex, LPCTSTR lpszString) { return -1; }
  17.   virtual int DeleteString(int nIndex) { return -1; }
  18. #ifdef _DEBUG
  19.   // @cmember,mfunc
  20.   // for assertion only
  21.   virtual void PreSubclassWindow();
  22. #endif
  23. // @access Private Member Functions and Variables
  24. private:
  25. public:
  26. DECLARE_MESSAGE_MAP()
  27. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  28. };
  29. //{{AFX_INSERT_LOCATION}}
  30. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  31. #endif // !defined(AFX_CLineThiknessCombo_H__8AAE34F7_7B02_11D3_A615_0060085FE616__INCLUDED_)