ClickDialog

所属分类:对话框与窗口
开发工具:Visual C++
文件大小:24KB
下载次数:62
上传日期:2007-08-29 15:26:11
上 传 者isc_117
说明:  点击按钮,弹出另一个对话框的Demo 第一步:添加(Insert Dialog)要弹出的Dialog,根据自己需要可以设计界面,因为我是一个简单Demo,所以很简单! 第二步:为添加的Dialog添加建立成一个继承DLG的类,class CDialog1 : public CDialog 第三步:在主对话框中为按钮添加函数。如下: void CClickDialogDlg::OnButton1() { // TODO: Add your control notification handler code here CDialog1 dlg dlg.DoModal() } 不要忘记#include "Dialog1.h"
(Click of a button, another dialog box pop Demo of the first step: add (Insert Dialog) to the pop-up Dialog, according to their own needs can be designed interface, because I am a simple Demo, so very simple! Step two: add Dialog to add the establishment of a succession of DLG class, class CDialog1: public CDialog third step: in the main dialog box for the button to add the function. As follows: void CClickDialogDlg:: OnButton1 () (//TODO: Add your control notification handler code here CDialog1 dlg dlg.DoModal ()) do not forget# Include )

文件列表:
StdAfx.h (1054, 2007-08-29)
res\ClickDialog.rc2 (403, 2007-08-29)
res\ClickDialog.ico (1078, 2007-08-29)
res (0, 2007-08-29)
ClickDialog.aps (36184, 2007-08-29)
ClickDialog.ncb (41984, 2007-08-29)
ClickDialog.plg (1197, 2007-08-29)
ClickDialog.clw (1519, 2007-08-29)
ClickDialog.cpp (2133, 2007-08-29)
ClickDialog.dsp (4375, 2007-08-29)
ClickDialog.dsw (547, 2007-08-29)
ClickDialog.h (1379, 2007-08-29)
ClickDialog.rc (5759, 2007-08-29)
ClickDialogDlg.cpp (4403, 2007-08-29)
ClickDialogDlg.h (1425, 2007-08-29)
Dialog1.cpp (1002, 2007-08-29)
Dialog1.h (1229, 2007-08-29)
Resource.h (780, 2007-08-29)
StdAfx.cpp (213, 2007-08-29)

近期下载者

相关文件


收藏者