📄 tmsgboxynac.h
字号:
/*****************************************************************************/
/* TMsgBoxYNAC.h Copyright (c) Ladislav Zezula 2003 */
/*---------------------------------------------------------------------------*/
/* This module implements the message box with Yes, No, Cancel, All buttons. */
/*---------------------------------------------------------------------------*/
/* Date Ver Who Comment */
/* -------- ---- --- ------- */
/* 08.04.03 1.00 Lad The first version of TMsgBoxYNAC.h */
/*****************************************************************************/
#ifndef __TMSGBOXYNAC_H__
#define __TMSGBOXYNAC_H__
//-----------------------------------------------------------------------------
// TMsgBoxYNAC dialog
class TMsgBoxYNAC : public CDialog
{
// Construction
public:
TMsgBoxYNAC(CWnd* pParent = NULL); // standard constructor
CString m_strCaption;
CString m_strText;
UINT m_uType;
BOOL * m_pbAll;
//{{AFX_DATA(TMsgBoxYNAC)
enum { IDD = IDD_MSGBOXYNAC };
//}}AFX_DATA
//{{AFX_VIRTUAL(TMsgBoxYNAC)
//}}AFX_VIRTUAL
//{{AFX_MSG(TMsgBoxYNAC)
virtual BOOL OnInitDialog();
afx_msg void OnYesClick();
afx_msg void OnNoClick();
afx_msg void OnAllClick();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
int MessageBoxYNAC(CWnd * pParent, const TCHAR * szText, const TCHAR * szCaption, UINT uType, BOOL * pbbAll);
int MessageBoxYNAC(CWnd * pParent, UINT nIDText, UINT nIDCaption, UINT uType, BOOL * pbbAll, ...);
#endif // __TMSGBOXYNAC_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -