?? ~rightsystem.~h
字號:
#if !defined(AFX_RIGHTSYSTEM_H__D09DE65C_3025_4D2E_91F5_89850D83272E__INCLUDED_)
#define AFX_RIGHTSYSTEM_H__D09DE65C_3025_4D2E_91F5_89850D83272E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RightSystem.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CRightSystem dialog
#include "../utils/filter_accel.h"
#include "../utils/Label.h"
#include "../utils/TransButton.h"
#include "../utils/TransGroup.h"
#include "../utils/Separator.h"
#include "em_dlg.h"
#include "notif_opt.h"
class CRightSystem : public em_dlg<accel_dlg<CDialog> >
{
TSYS_TIME opt1; // 系統時間
TNET_ATTRIBUTE opt2; // 系統網絡地址
//virtual void on_get_ok(DWORD ip, USHORT port, NET_OPTIONS no, void* stuff);
//virtual void on_set_ok(DWORD ip, USHORT port, NET_OPTIONS no );
MSG1(on_get_ok);
MSG1(on_set_ok);
MSG1(on_logged_out);
virtual void on_join();
virtual void on_leave();
CString get_alias();
bool confirm_set();
// Construction
public:
CRightSystem(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CRightSystem)
enum { IDD = IDD_RIGHT_SYSTEM };
CComboBox m_cbweek;
CSeparator m_s;
CTransButton m_btn_set_time;
CTransButton m_btn_refresh_time;
CTransButton m_btn_set_net;
CTransButton m_btn_refresh_net;
CTransButton m_btn_default;
CIPAddressCtrl m_mask;
CIPAddressCtrl m_ip;
CIPAddressCtrl m_gateway;
CComboBox m_cbwhich;
CLabel m_9;
CLabel m_8;
CLabel m_7;
CTransGroup m_6;
CLabel m_5;
CLabel m_4;
CLabel m_3;
CTransGroup m_2;
CLabel m_1;
CLabel m_title;
CTime m_date;
CTime m_time;
int m_weekday;
int m_which;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRightSystem)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
LRESULT on_update_data(WPARAM, LPARAM);
// Generated message map functions
//{{AFX_MSG(CRightSystem)
virtual BOOL OnInitDialog();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnSelchangeWhich();
afx_msg void OnRefreshTime();
afx_msg void OnRefreshNet();
afx_msg void OnDefault();
afx_msg void OnSetTime();
afx_msg void OnSetNet();
afx_msg void OnDatetimechangeDate(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RIGHTSYSTEM_H__D09DE65C_3025_4D2E_91F5_89850D83272E__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -