|
#if !defined(AFX_GFXINCOMBOEDIT_H__5ABC6883_E9D9_11D1_86F5_000000000000__INCLUDED_)
#define AFX_GFXINCOMBOEDIT_H__5ABC6883_E9D9_11D1_86F5_000000000000__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// GfxInComboEdit.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CGfxInComboEdit window
class CGfxInCombo;
class CGfxInComboEdit : public CRichEditCtrl
{
// Construction
public:
CGfxInComboEdit();
// Attributes
public:
bool bMouseSelect;
int m_iItem;
int m_iSubItem;
CString m_sInitText;
BOOL m_bESC;// To indicate whether ESC key was pressed
CGfxInCombo * pCombo;
CString csLstText;
bool bNoNextChange;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGfxInComboEdit)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
virtual void PostNcDestroy();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CGfxInComboEdit();
// Generated message map functions
protected:
//{{AFX_MSG(CGfxInComboEdit)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnKillFocus(CWnd* pNewWnd);
afx_msg void OnChange();
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnEditUndo();
afx_msg void OnUpdateEditUndo(CCmdUI* pCmdUI);
afx_msg void OnEditCopy();
afx_msg void OnUpdateEditCopy(CCmdUI* pCmdUI);
afx_msg void OnEditCut();
afx_msg void OnUpdateEditCut(CCmdUI* pCmdUI);
afx_msg void OnEditPaste();
afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI);
//}}AFX_MSG
bool UpdateCopy();
bool UpdatePaste();
bool UpdateCut();
bool UpdateUndo();
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GFXINCOMBOEDIT_H__5ABC6883_E9D9_11D1_86F5_000000000000__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.