📄 testdlg.h
字号:
// testDlg.h : header file
//
#if !defined(AFX_TESTDLG_H__72056558_0024_47A4_B7F8_D7397B88A47A__INCLUDED_)
#define AFX_TESTDLG_H__72056558_0024_47A4_B7F8_D7397B88A47A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CTestDlg dialog
#include <afxtempl.h>
#include "UserButton.h"
class CTestDlg : public CDialog
{
// Construction
public:
void Update();
static void ActionFunction();
CTestDlg(CWnd* pParent = NULL); // standard constructor
static void MouseDOWN(int nID);
static void MouseUP(void);
// Dialog Data
//{{AFX_DATA(CTestDlg)
enum { IDD = IDD_TEST_DIALOG };
CUserButton m_btnNegitive;
CUserButton m_btnPositive;
float m_fFactPosW;
float m_fFactPosX;
float m_fFactPosY;
float m_fFactPosZ;
float m_fLogPosW;
float m_fLogPosX;
float m_fLogPosY;
float m_fLogPosZ;
double m_fObjW;
double m_fObjX;
double m_fObjY;
double m_fObjZ;
float m_fSpeedW;
float m_fSpeedX;
float m_fSpeedY;
float m_fSpeedZ;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTestDlg)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CTestDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButtonInit();
afx_msg void OnButtonBackzero();
afx_msg void OnButtonPmove();
afx_msg void OnCheckAbsrel();
afx_msg void OnButtonInp();
afx_msg void OnButtonContinue();
afx_msg void OnButtonInparc();
afx_msg void OnButtonMovefree();
afx_msg void OnButtonStop();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnCheckAxisx();
afx_msg void OnCheckAxisy();
afx_msg void OnCheckAxisz();
afx_msg void OnCheckAxisw();
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TESTDLG_H__72056558_0024_47A4_B7F8_D7397B88A47A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -