⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cuowudlg.h

📁 控件串口简单事件触发,通过串口对控件进行通信
💻 H
字号:
#if !defined(AFX_CUOWUDLG_H__C079CEB5_C9BA_467F_BAC7_EA2E7A773202__INCLUDED_)
#define AFX_CUOWUDLG_H__C079CEB5_C9BA_467F_BAC7_EA2E7A773202__INCLUDED_
#include "MyToolTipCtrl.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CuoWUDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CCuoWUDlg dialog
#include "editexstr.h"
class CCuoWUDlg : public CDialog
{
// Construction
public:
	CCuoWUDlg(CWnd* pParent = NULL);   // standard constructor
void DrawTitleBar(CDC *pDC);
	CString m_time;
	CRect	dlgrect;
	CRect m_rtButtExit;	//关闭按钮位置
	CRect m_rtButtMax;	//最大化按钮位置
	CRect m_rtButtMin;	//最小化按钮位置
	CRect m_rtButtHelp;	//帮助按钮位置
	CRect m_rtIcon;		//图标位置
	BOOL  m_ReSizeFlag;
	int	m_OldWidth;
	int	m_OldHeight;
// Dialog Data
	//{{AFX_DATA(CCuoWUDlg)
	enum { IDD = IDD_CuoWUDlg };
	CMyEdit	m_edit3;
	CMyEdit	m_edit2;
	CMyEdit	m_edit1;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCuoWUDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
protected:
    	HICON m_hIcon;
	CMyToolTipCtrl m_ToolTip;
	BOOL	m_ShowTitle;
	// Generated message map functions
	//{{AFX_MSG(CCuoWUDlg)
	virtual void OnOK();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnNcLButtonDown(UINT nHitTest, CPoint point);
	afx_msg void OnNcMouseMove(UINT nHitTest, CPoint point);
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	virtual BOOL OnInitDialog();
		afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CUOWUDLG_H__C079CEB5_C9BA_467F_BAC7_EA2E7A773202__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -