gfxgroupedit.h

来自「随着计算机信息技术的飞速发展」· C头文件 代码 · 共 82 行

H
82
字号
// Copyright (c) Iuri Apollonio 1998
// Use & modify as you want & need, and leave those 4 lines.
// Strongly based on article "Inplace edit control" of Mario Contestabile and "Editable subitems" of Zafir
// http://www.codeguru.com
//
/////////////////////////////////////////////////////////////////////////////
/****************************************************************************
 *
 * $Date: 10/14/99 12:41p $
 * $Revision: 3 $
 * $Archive: /CodeJock/Include/GfxGroupEdit.h $
 *
 * $History: GfxGroupEdit.h $
 * 
 * *****************  Version 3  *****************
 * User: Kirk Stowell Date: 10/14/99   Time: 12:41p
 * Updated in $/CodeJock/Include
 * Added source control history to file header.
 *
 ***************************************************************************/
/////////////////////////////////////////////////////////////////////////////

#ifndef __GFXGROUPEDIT_H__
#define __GFXGROUPEDIT_H__

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// GfxGroupEdit.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CGfxGroupEdit window

class _CJX_EXT_CLASS CGfxGroupEdit : public CEdit
{
// Construction
public:
	CGfxGroupEdit();

// Attributes
public:
	BOOL	bEscapeKey;
	CString text;
	WPARAM	msgSend;
	bool	bNoDown;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGfxGroupEdit)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void PostNcDestroy();
	//}}AFX_VIRTUAL

// Implementation
public:
	int iIndex;
	virtual ~CGfxGroupEdit();

	// Generated message map functions
protected:
	//{{AFX_MSG(CGfxGroupEdit)
	afx_msg void OnKillFocus(CWnd* pNewWnd);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // __GFXGROUPEDIT_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?