bcgpshowallbutton.h

来自「关于远程网络监视程序的源码」· C头文件 代码 · 共 46 行

H
46
字号
//*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a part of the BCGControlBar Library
// Copyright (C) 1998-2000 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only under terms and conditions 
// of the accompanying license agreement.
//*******************************************************************************

// BCGShowAllButton.h: interface for the CBCGPShowAllButton class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_BCGPSHOWALLBUTTON_H__DE028D43_36EB_11D3_95C5_00A0C9289F1B__INCLUDED_)
#define AFX_BCGPSHOWALLBUTTON_H__DE028D43_36EB_11D3_95C5_00A0C9289F1B__INCLUDED_

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

#include "BCGPToolbarMenuButton.h"

class CBCGPShowAllButton : public  CBCGPToolbarMenuButton  
{
	DECLARE_DYNCREATE(CBCGPShowAllButton)

public:
	CBCGPShowAllButton();
	virtual ~CBCGPShowAllButton();

	virtual void OnDraw (CDC* pDC, const CRect& rect, CBCGPToolBarImages* pImages,
						BOOL bHorz = TRUE, BOOL bCustomizeMode = FALSE,
						BOOL bHighlight = FALSE,
						BOOL bDrawBorder = TRUE,
						BOOL bGrayDisabledButtons = TRUE);
	virtual SIZE OnCalculateSize (CDC* pDC, const CSize& sizeDefault, BOOL bHorz);
	virtual BOOL OnClick (CWnd* pWnd, BOOL bDelay = TRUE);
	virtual BOOL OpenPopupMenu (CWnd* pWnd = NULL);
	virtual BOOL OnToolHitTest (const CWnd* pWnd, TOOLINFO* pTI);
};

#endif // !defined(AFX_BCGPSHOWALLBUTTON_H__DE028D43_36EB_11D3_95C5_00A0C9289F1B__INCLUDED_)

⌨️ 快捷键说明

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