📄 inputsndlg.h
字号:
// InPutSnDlg.h : header file
//
#if !defined(AFX_INPUTSNDLG_H__F6674C32_F2D1_46A7_8D2B_55DBC6E371A9__INCLUDED_)
#define AFX_INPUTSNDLG_H__F6674C32_F2D1_46A7_8D2B_55DBC6E371A9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "TrayIcon.h"
#define WM_ICON_NOTIFY WM_USER + 100
#define WM_SHOWHOTKEY WM_USER + 101
/////////////////////////////////////////////////////////////////////////////
// CInPutSnDlg dialog
class CInPutSnDlg : public CDialog
{
// Construction
public:
CInPutSnDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CInPutSnDlg)
enum { IDD = IDD_INPUTSN_DIALOG };
CHotKeyCtrl m_hotkey1;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CInPutSnDlg)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
CTrayIcon m_tray;
void OnInputsn();
// Generated message map functions
//{{AFX_MSG(CInPutSnDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
afx_msg void OnDestroy();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnHide();
afx_msg void OnShowhide();
afx_msg void OnExitapp();
afx_msg void OnSethotkey();
//}}AFX_MSG
LRESULT OnHotKey(WPARAM wParam,LPARAM lParam);
LRESULT OnTrayNotify(WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()
HWND gFocus;
void SetToClip(char *p);
void GetFromClip(char *p);
void ReleaseFocus() ;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_INPUTSNDLG_H__F6674C32_F2D1_46A7_8D2B_55DBC6E371A9__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -