flashicondlg.h

来自「flash icon is a small program, it analog」· C头文件 代码 · 共 64 行

H
64
字号
// FlashIconDlg.h : header file
//

#if !defined(AFX_FLASHICONDLG_H__7509B465_A09B_4B89_9BC7_C9A7BC7130C6__INCLUDED_)
#define AFX_FLASHICONDLG_H__7509B465_A09B_4B89_9BC7_C9A7BC7130C6__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CFlashIconDlg dialog

#define SPECIFIC_ID 0
#define ICON_NOTIFY WM_USER+400

class CFlashIconDlg : public CDialog
{
// Construction
public:
	CFlashIconDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CFlashIconDlg)
	enum { IDD = IDD_FLASHICON_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFlashIconDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CFlashIconDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnDestroy();
	afx_msg void OnStartFlash();
	afx_msg void OnStopFlash();
	afx_msg void OnSwitchIcon();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	afx_msg void OnExit();
	afx_msg void OnShow();
	afx_msg void OnHide();
	afx_msg void OnNotify(WPARAM uID,LPARAM lEvent);
private:
	BOOL m_bMale;
	NOTIFYICONDATA m_hIconTray;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_FLASHICONDLG_H__7509B465_A09B_4B89_9BC7_C9A7BC7130C6__INCLUDED_)

⌨️ 快捷键说明

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