?? extendedit.h
字號:
#if !defined(AFX_EXTENDEDIT_H__6E0ADFC1_65FC_11D8_8753_5254AB32C8FB__INCLUDED_)
#define AFX_EXTENDEDIT_H__6E0ADFC1_65FC_11D8_8753_5254AB32C8FB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ExtendEdit.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CExtendEdit window
#include "ExtendEdit_Grid.h"
class CExtendEdit : public CEdit
{
// Construction
public:
CExtendEdit();
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CExtendEdit)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
//}}AFX_VIRTUAL
// Implementation
public:
bool SetPopRecordset(_RecordsetPtr prst);
bool Changed; // 是否啟動SetPopRecordset方法
CWnd* GridParent;
void Refresh();
void HideGrid();
void ShowGrid();
bool assn; //是否啟動聯(lián)想輸入
CExtendEdit_Grid Grid;
CString Field; //查詢的字段名
CString DataBase; //查詢的數據庫名
virtual ~CExtendEdit();
_RecordsetPtr rst;
bool IsOnChange;
bool IsShow; //表格是否已經顯示出來
bool IsPopShow; //是否顯示提示
// Generated message map functions
protected:
//{{AFX_MSG(CExtendEdit)
afx_msg void OnChange();
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnKillFocus(CWnd* pNewWnd);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CFont m_cFont;
bool m_bInputValid;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EXTENDEDIT_H__6E0ADFC1_65FC_11D8_8753_5254AB32C8FB__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -