myselectbox.h

来自「一个多方面查询的系统,也是很辛苦找到,并且做管理系统很多方面都用到的」· C头文件 代码 · 共 38 行

H
38
字号
// MySelectBox.h: interface for the CMySelectBox class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MYSELECTBOX_H__7672F2B3_DAFD_4662_8917_B0EE47E5FFF2__INCLUDED_)
#define AFX_MYSELECTBOX_H__7672F2B3_DAFD_4662_8917_B0EE47E5FFF2__INCLUDED_

#include "MyList.h"	// Added by ClassView
#include "MyLabel.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CMySelectBox  
{
public:
	void OnTimer();
	void OutRect();
	void OnMouseMove(CPoint point);
	void OnRButtonDown(CPoint point);
	void OnLButtonDown(CPoint point);
	void OnLButtonUp(CPoint point);
	CRect SelectRect;
	void SetListRect();
	CWnd *pParentWnd;
	CMySelectBox(CWnd *parent,UINT id);
	void draw(CDC *pDC);
	bool bVisible;
	char *cContent;
	CMyLabel *label;
	CMyList *list;
	CMySelectBox();
	virtual ~CMySelectBox();

};

#endif // !defined(AFX_MYSELECTBOX_H__7672F2B3_DAFD_4662_8917_B0EE47E5FFF2__INCLUDED_)

⌨️ 快捷键说明

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