📄 bcgpexchecklist.h
字号:
//*******************************************************************************
// 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.
//*******************************************************************************
#if !defined(AFX_BCGPEXCHECKLIST_H__A2154114_301B_11D2_8BE6_00A0C9B05590__INCLUDED_)
#define AFX_BCGPEXCHECKLIST_H__A2154114_301B_11D2_8BE6_00A0C9B05590__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// BCGExCheckList.h : header file
//
#ifndef BCG_NO_CUSTOMIZATION
/////////////////////////////////////////////////////////////////////////////
// CBCGPExCheckList window
class CBCGPExCheckList : public CCheckListBox
{
// Construction
public:
CBCGPExCheckList();
// Attributes
protected:
CArray<BOOL, BOOL> m_arCheckData;
// Operations
public:
void EnableCheck (int nIndex, BOOL bEnable = TRUE);
BOOL IsCheckEnabled (int nIndex) const;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBCGPExCheckList)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CBCGPExCheckList();
// Generated message map functions
protected:
//{{AFX_MSG(CBCGPExCheckList)
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
//}}AFX_MSG
LRESULT OnLBAddString(WPARAM wParam, LPARAM lParam);
LRESULT OnLBInsertString(WPARAM wParam, LPARAM lParam);
LRESULT OnLBResetContent(WPARAM wParam, LPARAM lParam);
LRESULT OnLBDeleteString(WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()
void OnNewString (int iIndex);
};
#endif // BCG_NO_CUSTOMIZATION
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BCGPEXCHECKLIST_H__A2154114_301B_11D2_8BE6_00A0C9B05590__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -