📄 tooltipdlg.h
字号:
#if !defined(AFX_TOOLTIPDLG_H__8705DF16_7EA9_11D4_85D4_468CF3000000__INCLUDED_)
#define AFX_TOOLTIPDLG_H__8705DF16_7EA9_11D4_85D4_468CF3000000__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ToolTipDlg.h : header file
//
#include "StaticEx.h"
#include "ToolTips.h"
/////////////////////////////////////////////////////////////////////////////
// CToolTipDlg dialog
class CToolTipDlg : public CPropertyPage
{
DECLARE_DYNCREATE(CToolTipDlg)
// Construction
public:
CToolTips & GetToolTipControl();
CToolTipDlg();
~CToolTipDlg();
// Dialog Data
//{{AFX_DATA(CToolTipDlg)
enum { IDD = IDD_PROPPAGE_TOOLTIPDLG };
CStaticEx m_ctlBackYellow;
CStaticEx m_ctlBackWhite;
CStaticEx m_ctlBackMagenta;
CStaticEx m_ctlBackGreen;
CStaticEx m_ctlBackCyan;
CStaticEx m_ctlBackBlack;
CStaticEx m_ctlTextBlack;
CStaticEx m_ctlTextBlue;
CStaticEx m_ctlTextGray;
CStaticEx m_ctlTextGreen;
CStaticEx m_ctlTextRed;
CStaticEx m_ctlTextWhite;
int m_nHoverTime;
int m_nDisplayTime;
int m_nBottomMargin;
int m_nLeftMargin;
int m_nRightMargin;
int m_nTopMargin;
int m_nWidth;
BOOL m_bAlwaysTip;
BOOL m_bNoPrefix;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CToolTipDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
BOOL OnToolTipText(UINT id, NMHDR *pNMHDR, LRESULT *pResult);
void AddControls();
// Generated message map functions
//{{AFX_MSG(CToolTipDlg)
afx_msg void OnTooltipAlwaystip();
afx_msg void OnTooltipNoprefix();
afx_msg void OnChangeTooltipTopmargin();
afx_msg void OnChangeTooltipBottommargin();
afx_msg void OnChangeTooltipLeftmargin();
afx_msg void OnChangeTooltipRightmargin();
afx_msg void OnTooltipHoverstatic();
afx_msg void OnChangeTooltipDisplaytime();
afx_msg void OnTooltipSetall();
virtual BOOL OnInitDialog();
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
afx_msg void OnChangeTooltipWidth();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
//}}AFX_MSG
afx_msg void OnTooltipTextblack();
afx_msg void OnTooltipTextblue();
afx_msg void OnTooltipTextgray();
afx_msg void OnTooltipTextgreen();
afx_msg void OnTooltipTextred();
afx_msg void OnTooltipTextwhite();
afx_msg void OnTooltipBackblack();
afx_msg void OnTooltipBackcyan();
afx_msg void OnTooltipBackgreen();
afx_msg void OnTooltipBackmagenta();
afx_msg void OnTooltipBackwhite();
afx_msg void OnTooltipBackyellow();
DECLARE_MESSAGE_MAP()
CToolTips m_ToolTips;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TOOLTIPDLG_H__8705DF16_7EA9_11D4_85D4_468CF3000000__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -