📄 rightchannel.h
字号:
#if !defined(AFX_RIGHTCHANNEL_H__ABF900AD_5B81_40AA_8135_C63332AA0EF0__INCLUDED_)
#define AFX_RIGHTCHANNEL_H__ABF900AD_5B81_40AA_8135_C63332AA0EF0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RightChannel.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CRightChannel dialog
#include "../utils/filter_accel.h"
#include "../utils/GridStatic.h"
#include "../utils/label.h"
#include "../utils/TransButton.h"
#include "../utils/transck.h"
#include "../utils/TransGroup.h"
#include "../utils/TransRadio.h"
#include "../utils/update_data.h"
#include "../utils/video_mask.h"
#include "../utils/Separator.h"
#include "em_dlg.h"
#include "notif_opt.h"
//##ModelId=3F90BAB303C5
class CRightChannel : public em_dlg<accel_dlg<CDialog> >
{
int last_channel;
//##ModelId=3F90BAB303E4
TREC_CHANNELTITLE opt ;
TREC_BAUDRATE opt1;
//##ModelId=3F90BAB40005
void on_join();
//##ModelId=3F90BAB4000F
void on_leave();
//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);
//##ModelId=3F90BAB4001A
MSG1(on_get_ok);
//##ModelId=3F90BAB40024
MSG1(on_set_ok);
//##ModelId=3F90BAB4002E
MSG1(on_logged_out);
//##ModelId=3F90BAB40037
CString get_alias();
//##ModelId=3F90BAB40042
video_mask* mask;
//##ModelId=3F90BAB40055
void update_mask();
CGridStatic *pkk;
// Construction
public:
//##ModelId=3F90BAB40056
CRightChannel(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CRightChannel)
enum { IDD = IDD_RIGHT_CHANNELS };
CLabel m_9;
CSeparator m_s;
CTransRadio m_rd2;
CTransRadio m_rd1;
CComboBox m_cbwhich;
CComboBox m_cbchannel;
CTransButton m_btn_set;
CTransButton m_btn_refresh;
CLabel m_title;
CGridStatic m_grid;
CTransGroup m_2;
CLabel m_7;
CLabel m_5;
CLabel m_4;
CLabel m_3;
CLabel m_1;
CLabel m_6;
CTransGroup m_12 ;
int m_channel;
int m_motor;
int m_which;
CString m_channel_title;
int m_motor_addr;
int m_video_lost_alert;
int m_baudrate;
BOOL m_maskall ;
CTransCK m_ck_maskall;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRightChannel)
protected:
//##ModelId=3F90BAB401E5
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
//##ModelId=3F90BAB401F9
LRESULT on_update_data(WPARAM, LPARAM);
// Generated message map functions
//{{AFX_MSG(CRightChannel)
//##ModelId=3F90BAB40217
virtual BOOL OnInitDialog();
//##ModelId=3F90BAB40221
afx_msg void OnSelchangeWhich();
//##ModelId=3F90BAB4022B
afx_msg void OnRefresh();
//##ModelId=3F90BAB40235
afx_msg void OnSelchangeChannel();
//##ModelId=3F90BAB4023F
afx_msg void OnSet();
//##ModelId=3F90BAB40249
afx_msg void OnRadio1();
//##ModelId=3F90BAB40254
afx_msg void OnVideoLostAlert();
afx_msg void OnDeltaposSpin(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_RIGHTCHANNEL_H__ABF900AD_5B81_40AA_8135_C63332AA0EF0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -