lockdlg.h

来自「一个完整屏幕锁定的程序」· C头文件 代码 · 共 76 行

H
76
字号
// LOCKDlg.h : header file
//

#if !defined(AFX_LOCKDLG_H__C2951A1B_246B_4FD3_8C68_DFCA2BE8C8A4__INCLUDED_)
#define AFX_LOCKDLG_H__C2951A1B_246B_4FD3_8C68_DFCA2BE8C8A4__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CLOCKDlg dialog

class CLOCKDlg : public CDialog
{
// Construction
public:
	//static bool m_bIsStart;
	bool m_bIsShow;
	CString PASSWORD1;
	CString PASSWORD2;
	CString PASSWORD3;
	bool m_bIsOnLock;

	CLOCKDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CLOCKDlg)
	enum { IDD = IDD_LOCK_DIALOG };
	CButton	m_BtnHide;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLOCKDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
	// Generated message map functions
	//{{AFX_MSG(CLOCKDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnLock();
	afx_msg void OnClose();
	afx_msg void OnBtnHide();
	afx_msg void OnBtnShutdown();
	afx_msg void OnMenuExit();
	afx_msg void OnMenuLock();
	afx_msg void OnMenuMain();
	afx_msg void OnMenuHelp();
	afx_msg void OnMenuAbout();
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMenuAdd();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	virtual void OnOK();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnClickImageLogo();
	afx_msg void OnClickUnLock();
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_LOCKDLG_H__C2951A1B_246B_4FD3_8C68_DFCA2BE8C8A4__INCLUDED_)

⌨️ 快捷键说明

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