dropdownbutton.h

来自「用bcg库编写的java IDE 源码」· C头文件 代码 · 共 30 行

H
30
字号
// DropDownButton.h: interface for the CDropDownButton class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DROPDOWNBUTTON_H__3845370F_E6F7_411C_971D_F8DDADB416FA__INCLUDED_)
#define AFX_DROPDOWNBUTTON_H__3845370F_E6F7_411C_971D_F8DDADB416FA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "GuiToolButton.h"

class BCGCONTROLBARDLLEXPORT CDropDownButton : public _CGuiToolButton  
{
	DECLARE_DYNAMIC(CDropDownButton)
	bool m_bPopUp;
public:
	CDropDownButton();
	virtual ~CDropDownButton();
//protected:
	virtual void DrawItem(LPDRAWITEMSTRUCT /*lpDrawItemStruct*/);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	DECLARE_MESSAGE_MAP()
};

#endif // !defined(AFX_DROPDOWNBUTTON_H__3845370F_E6F7_411C_971D_F8DDADB416FA__INCLUDED_)

⌨️ 快捷键说明

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