源码简介: |
法:1:将类文件加入到你的项目中 2:在你的对话框中加入一个按纽(button),设置其文本和大小。 3:利用classwizard为按纽设置一个CButten类的值m_3dtext,然后编缉对话框的头文件,将CButten m_3dtext 改为CMyTextButton m_3dtex 在对话框的.CPP文件中加入#include "CMyTextButton.h" -law : a : types of documents into your two projects : In the dialog box you add a button (button), set the text and size. 3 : classwizard use for the establishment of a button CButten m_3dtext the value category. Then editing dialog in the first document, CButten m_3dtext will change in the CMyTextButton m_3dtex the dialog box. CPP documents include# include "CMyTextButton.h"
|