📄 flexibleview.h
字号:
// flexibleView.h : interface of the CFlexibleView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_FLEXIBLEVIEW_H__9688ADD1_23C7_4675_9826_5086192BBF10__INCLUDED_)
#define AFX_FLEXIBLEVIEW_H__9688ADD1_23C7_4675_9826_5086192BBF10__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CFlexibleView : public CView
{
protected: // create from serialization only
CFlexibleView();
DECLARE_DYNCREATE(CFlexibleView)
// Attributes
public:
CFlexibleDoc* GetDocument();
//void zhuangpei(LPVOID lpparameter);
// Operations
public:
void xiaochexianshi(); //小车显示函数
void Move(int xx); //小车移动函数
void textout(int x,int y,int xd,int yd,CString str,COLORREF col); //文本输出
HANDLE cheThread;
HANDLE gw1Thread; //开辟10个线程给10个装配工位
HANDLE gw2Thread;
HANDLE gw3Thread;
HANDLE gw4Thread;
HANDLE gw5Thread;
HANDLE gw6Thread;
HANDLE gw7Thread;
HANDLE gw8Thread;
HANDLE gw9Thread;
HANDLE gw10Thread;
//void zhuangpei(LPVOID lpparameter);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFlexibleView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CFlexibleView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CFlexibleView)
afx_msg void OnGongjianshuru();
afx_msg void OnGongjiangongyi();
afx_msg void OnStart();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnStop();
afx_msg void Onsaddsaf();
afx_msg void OnTimeset();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in flexibleView.cpp
inline CFlexibleDoc* CFlexibleView::GetDocument()
{ return (CFlexibleDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FLEXIBLEVIEW_H__9688ADD1_23C7_4675_9826_5086192BBF10__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -