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

📄 texttooldlg.h

📁 毕业设计程序
💻 H
字号:
#if !defined(AFX_TEXTTOOLDLG_H__DFA7F873_B403_400D_8183_871F505D4BD8__INCLUDED_)
#define AFX_TEXTTOOLDLG_H__DFA7F873_B403_400D_8183_871F505D4BD8__INCLUDED_


#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TextToolDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CTextToolDlg dialog
#include "BmpDat.h"

class CTextToolDlg : public CDialog
{
// Construction
public:
	CTextToolDlg(CWnd* pParent = NULL);   // standard constructor
	void Set(int * c,int oc,CBmpDat * b){contyp = c;oldcontyp = oc;bmp = b;}
	int GetBX(){return bx;}
	int GetBY(){return by;}
	void SetXY(int x,int y){bx = x,by = y;}
	void Move(int x,int y);
	void Close();
	BOOL Select(int x,int y);
	void OnOK();

// Dialog Data
	//{{AFX_DATA(CTextToolDlg)
	enum { IDD = IDD_DIALOG6 };
	CListBox	m_t;
	CComboBox	m_name;
	CComboBox	m_h;
	CString	m_text;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTextToolDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	CBmpDat * bmp;
	int * contyp;
	int oldcontyp;
	CWnd * par;
	CString str[20];
	int num;
	int bx,by;
	int dx[20],dy;
	BOOL utype,itype,btype;
	int height;
	LOGFONT lft;

	// Generated message map functions
	//{{AFX_MSG(CTextToolDlg)
	afx_msg void OnButton1();
	virtual BOOL OnInitDialog();
	afx_msg void OnChangeEdit1();
	afx_msg void OnClose();
	afx_msg void OnPaint();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnKillfocusCombo2();
	afx_msg void OnSelchangeCombo2();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnSelchangeCombo1();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TEXTTOOLDLG_H__DFA7F873_B403_400D_8183_871F505D4BD8__INCLUDED_)

⌨️ 快捷键说明

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