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

📄 basepop.h

📁 一个超完善的医药管理系统
💻 H
字号:
#if !defined(AFX_BASEPOP_H__13FCBD34_5E02_4EA6_BEE4_66233CF52750__INCLUDED_)
#define AFX_BASEPOP_H__13FCBD34_5E02_4EA6_BEE4_66233CF52750__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CBasePop dialog
#define IDD_BASE_POP 154
class CBasePop : public CDialog
{
// Construction
public:
	CStringList* SelectStringList(CStringList* newstringlist);
	bool InitListBox();
	bool RefreshListBoxView(CString edited);
	CString GetListBoxSel();
	void SetShowPosition(int x,int y,CWnd* wndedited);
	bool Create(CWnd* parent);
	CBasePop(CWnd* pParent = NULL);   // standard constructor
	enum{ID_POP_LISTBOX=300};

// Dialog Data
	//{{AFX_DATA(CBasePop)
	enum { IDD = IDD_BASE_POP };
	//}}AFX_DATA
	CStringList* m_strlist;
	CListBox*	 m_listbox;
	CWnd*		 m_wndStrEdited;


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBasePop)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	int m_iCurSel;
	CRect m_rectShow;
	CPoint m_ptPosition;
	void ClearListBox();
	void SetListBoxValues();

	// Generated message map functions
	//{{AFX_MSG(CBasePop)
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnDblclkList();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_BASEPOP_H__13FCBD34_5E02_4EA6_BEE4_66233CF52750__INCLUDED_)

⌨️ 快捷键说明

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