⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rxedit.h

📁 短信防伪系统客户端
💻 H
字号:
#if !defined(AFX_RXEDIT_H__F33D7822_5C37_4846_9192_F27AD44C891C__INCLUDED_)
#define AFX_RXEDIT_H__F33D7822_5C37_4846_9192_F27AD44C891C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RxEdit.h : header file
//
#include "RxRecordset.h"
/////////////////////////////////////////////////////////////////////////////
// CRxEdit window

class CRxEdit : public CEdit
{
// Construction
public:
	CRxEdit();

// Attributes
public:

// Operations
public:

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

// Implementation
public:
	void AutoPosition();
	void SetRecordset(CRxRecordset prst);
	void AddItemValue(CRxRecordset prst);
	void ShowGrid();
	bool Initialize(CWnd* cParent);
	void HideGrid();
	void SetSelectField(CString sFieldName);
	bool PopHide;
	int m_FieldNameNumber;
	bool StartUpAssciation;
	void ClearAll();
	void NumberOnly(bool bOnly);
	virtual ~CRxEdit();
	int EnterNumber;
	bool IsShowing;
	CListCtrl m_Grid;


	// Generated message map functions
protected:
	//{{AFX_MSG(CRxEdit)
	afx_msg void OnChange();
	afx_msg void OnKillfocus();
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
private:
	bool m_bOnly;
	CString m_Fields[255];
	CString m_FieldName;
	CFont m_Font;
	CRect GridRect;
	CRxRecordset rst;
	CString sRecordset;
	int m_SeleColumn;
	CWnd* Parent;
	bool Init;
};

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_RXEDIT_H__F33D7822_5C37_4846_9192_F27AD44C891C__INCLUDED_)

⌨️ 快捷键说明

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