⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mydialog.h

📁 本程序提供了一种编写定时提醒功能的例子。
💻 H
字号:
#if !defined(AFX_MYDIALOG_H__46D9FFC1_58AF_11D4_B3D6_0050BAB0CF1D__INCLUDED_)
#define AFX_MYDIALOG_H__46D9FFC1_58AF_11D4_B3D6_0050BAB0CF1D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyDialog.h : header file
//

typedef struct tagMyString
{
	char ProgName[80];
	char time[80];
}MyString;

/////////////////////////////////////////////////////////////////////////////
// CMyDialog dialog

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

	// Dialog Data
	//{{AFX_DATA(CMyDialog)
	enum { IDD = IDD_WARNING_DIALOG };
	//}}AFX_DATA


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

	// Implementation
protected:
	int ShowTime;
	bool bSetFlag;
	CString szMsg;
	int Minute, Second;
	int SetMinute;

public:
	bool IsTheTime();
	void TrayAdd();
	BOOL DestroyWindow();

	// Generated message map functions
	//{{AFX_MSG(CMyDialog)
	afx_msg void OnHotKey(WPARAM wParam,LPARAM lParam); 
	virtual BOOL OnInitDialog();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnAbout();
	afx_msg void OnCloseSpy();
	afx_msg void OnShutdown();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MYDIALOG_H__46D9FFC1_58AF_11D4_B3D6_0050BAB0CF1D__INCLUDED_)

⌨️ 快捷键说明

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