This commit is contained in:
72
HookMsg/LockControlDlg.h
Normal file
72
HookMsg/LockControlDlg.h
Normal file
@@ -0,0 +1,72 @@
|
||||
#if !defined(AFX_LOCKCONTROLDLG_H__B1EE3282_7434_4DEE_B226_4A339684007B__INCLUDED_)
|
||||
#define AFX_LOCKCONTROLDLG_H__B1EE3282_7434_4DEE_B226_4A339684007B__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
// LockControlDlg.h : header file
|
||||
//
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CLockControlDlg dialog
|
||||
|
||||
//#include "./UtilClass/BkDialog.h"
|
||||
|
||||
class CHookMsgDlg;
|
||||
class CLockControlDlg : public CDialog // CBkDialog
|
||||
{
|
||||
private:
|
||||
BOOL m_bInitSuccess; // ÃʱâÈ ¿Ï·á¿©ºÎ.
|
||||
|
||||
// Construction
|
||||
public:
|
||||
CLockControlDlg();
|
||||
|
||||
CBrush m_brRed, m_brBlue;
|
||||
void SetHookMsgState(BOOL bLock);
|
||||
|
||||
void SaveWindowPlacement();
|
||||
void RestoreWindowPlacement();
|
||||
|
||||
CHookMsgDlg * m_pHookMsgDlg;
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CLockControlDlg)
|
||||
enum { IDD = IDD_CONTROL_DLG };
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CLockControlDlg)
|
||||
public:
|
||||
virtual BOOL Create( UINT nIDTemplate, CWnd* pParentWnd = NULL );
|
||||
protected:
|
||||
virtual void PostNcDestroy();
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CLockControlDlg)
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnControlChk2();
|
||||
afx_msg LRESULT OnNcHitTest(CPoint point);
|
||||
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
|
||||
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
|
||||
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
|
||||
afx_msg void OnControlDlgClose();
|
||||
afx_msg void OnSize(UINT nType, int cx, int cy);
|
||||
afx_msg void OnClose();
|
||||
afx_msg void OnControlDlgShowmain();
|
||||
afx_msg void OnNcLButtonDblClk(UINT nHitTest, CPoint point);
|
||||
//}}AFX_MSG
|
||||
afx_msg void OnControlDlgTransParent(UINT nID);
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_LOCKCONTROLDLG_H__B1EE3282_7434_4DEE_B226_4A339684007B__INCLUDED_)
|
||||
Reference in New Issue
Block a user