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

📄 lockdlg.h

📁 C语言课程设计案例精编
💻 H
字号:
#if !defined(AFX_LOCKDLG_H__2F0D6BF5_1938_4C0B_B66F_885D7F1CF64B__INCLUDED_)
#define AFX_LOCKDLG_H__2F0D6BF5_1938_4C0B_B66F_885D7F1CF64B__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CLockDlg dialog


#include<mmsystem.h>


class CLockDlg : public CDialog
{
// Construction
public:	
	CLockDlg(CWnd* pParent = NULL);   // standard constructor
// Dialog Data
	//{{AFX_DATA(CLockDlg)
	enum { IDD = IDD_LOCK };
	CButton	m_lock;
	CButton	m_re;
	CButton	m_changepwd;
	CButton	m_ok;
	CButton	m_shut;
	CButton	m_exit;
	CEdit	m_pwd;
	CString	m_state;
	//}}AFX_DATA


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

// Implementation

protected:
	TCHAR Password[15];  //密码	
	TCHAR szPassword[20];

	BOOL dan;
	HWND renxu; //任务栏句柄
	RECT rMove;

	// Generated message map functions
	//{{AFX_MSG(CLockDlg)
	afx_msg void OnChangePwd();
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnExit();
	afx_msg void OnShutdown();
		afx_msg void OnTimer(UINT nIDEvent);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	virtual BOOL OnInitDialog();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnRe();
	afx_msg void OnLock();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CWinThread* m_thread;
	CFont m_font;

	CBitmap m_BmpPattern;
	CPalette m_BmpPalette;
	int m_nBmpWidth;
	int m_nBmpHeight, age;

};

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

#endif // !defined(AFX_LOCKDLG_H__2F0D6BF5_1938_4C0B_B66F_885D7F1CF64B__INCLUDED_)

⌨️ 快捷键说明

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