Location:
Search - domodal
Search list
Description: 一个间单的对话框控制程序,刚刚学会编程,b不要笑话-a single dialog between the control procedures, just to learn programming, b Do not joke
Platform: |
Size: 38684 |
Author: madman |
Hits:
Description: 这个FTP文件浏览对话框使你可以象浏览本地硬盘一样方便的浏览某个FTP服务器,而其调用又是最常用的DoModal形式。好使吧?
-the FTP file browser dialog box allows you to browse local drives as easy as browsing a FTP service Treasury device, and its call is the most commonly used form DoModal. So?
Platform: |
Size: 19271 |
Author: 凯 |
Hits:
Description: The AnimateWindow() function provides special effects (roll, slide, collapse, expand, and alpha-blended fade) for showing and hiding windows. It is an alternative to the ShowWindow() function. However, in the case of a modal dialog, ShowWindow() is not call directly by the user, but by the framework, through the DoModal() method. This article shows how to fix this problem for modal dialogs.-The AnimateWindow () function provides sp ecial effects (roll, slide, collapse, expand, and alpha-blended fade) for showing and hiding windows. It is an alternative to the ShowWindow () function. However, in the case of a modal dialog. ShowWindow () is not call directly by the user, but by the framework. through the DoModal () method. This article sho ws123 how to fix this problem for modal dialogs.
Platform: |
Size: 31167 |
Author: bobo_234_645 |
Hits:
Description: 加载属性页的DEMO,分别介绍了Wizd,Domodal和Nomodal三种模式的加载方式,简单易懂,适合初学者!-loading attributes page DEMO, introduced Wizd. Domodal Nomodal three models and the loading and easily understood, for beginners!
Platform: |
Size: 32968 |
Author: lee7 |
Hits:
Description: 编辑的应用
void CMyDlg::OnButton1() // { // TODO: Add your control notification handler code here UpdateData(TRUE) CDlg1 Dlg Dlg.m_Edit2=m_Edit1 //m_Edit1.Undo() CDialog::OnOK() Dlg.DoModal()
Platform: |
Size: 45321 |
Author: mashijia |
Hits:
Description: 点击按钮,弹出另一个对话框的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\"
Platform: |
Size: 24674 |
Author: SeVen Lee |
Hits:
Description: #ifdef _AFXDLL
Enable3dControls() // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic() // Call this when linking to MFC statically
#endif
CPreviewDialogDlg dlg
m_pMainWnd = &dlg
int nResponse = dlg.DoModal()
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed, return FALSE so that we exit the
// application, rather than start the application s message pump.
return FALSE
}
Platform: |
Size: 67254 |
Author: chen |
Hits:
Description: 用VC制作一个商品交易管理系统.部分代码:“// 商品交易管理系统View.cpp
#include “MyDlg1.h”
void CMyView::OnRadiospxx()
{
// TODO: Add your control notification handler code here
CMyDlg1 MyDlg1
MyDlg1.DoModal()
}
”
Platform: |
Size: 900931 |
Author: 华羿 |
Hits:
Description: 打开一个TXT文件并显示在EDIT控件中
步骤:
1.新建一个基于对话框的工程,名称为ReadFile
2.在界面上添加一个按钮(IDC_BUTTON1)和一个文本编辑(IDC_EDIT1)
IDC_EDIT1的属性:多行、可下拉滚动条.
3.编辑按钮触发事件(void CReadFileDlg::OnButton1())
void CReadFileDlg::OnButton1()
{
// TODO: Add your control notification handler code here
CString sFileFilter=\"*.hex|*.hex\"
CString sFileName
CFileDialog fDlg(true,NULL,NULL,OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,sFileFilter,NULL)
fDlg.DoModal()
sFileName=fDlg.GetFileName()
if(sFileName!=\"\")
{
CFile file(sFileName,CFile::modeRead)
int nFileLength=file.GetLength()
char *buffer
HGLOBAL hgl=::GlobalAlloc(GMEM_MOVEABLE,nFileLength+1)
buffer=(char *)::GlobalLock(hgl)
file.Read(buffer,nFileLength)
SetDlgItemText(IDC_EDIT1,buffer)
::GlobalUnlock(hgl)
::GlobalFree(hgl)
}
UpdateData(false)
}
Platform: |
Size: 26089 |
Author: 这程子 |
Hits:
Description: wince EVC 简单的图片浏览功能,自已随意扩展
支持 *.bmp *.jpg *.gif *.png 等等
// TODO: Add your control notification handler code here
CString defFilter(\"选中其中一个文件|*.bmp *.jpg *.gif *.png\")
CFileDialog dlg(TRUE,NULL,NULL,OFN_ALLOWMULTISELECT,defFilter)
if(dlg.DoModal()==IDOK){
PathName=dlg.GetPathName()
}
Platform: |
Size: 20617 |
Author: lzy |
Hits:
Description: 一个间单的对话框控制程序,刚刚学会编程,b不要笑话-a single dialog between the control procedures, just to learn programming, b Do not joke
Platform: |
Size: 37888 |
Author: |
Hits:
Description: 这个FTP文件浏览对话框使你可以象浏览本地硬盘一样方便的浏览某个FTP服务器,而其调用又是最常用的DoModal形式。好使吧?
-the FTP file browser dialog box allows you to browse local drives as easy as browsing a FTP service Treasury device, and its call is the most commonly used form DoModal. So?
Platform: |
Size: 19456 |
Author: 凯 |
Hits:
Description: The AnimateWindow() function provides special effects (roll, slide, collapse, expand, and alpha-blended fade) for showing and hiding windows. It is an alternative to the ShowWindow() function. However, in the case of a modal dialog, ShowWindow() is not call directly by the user, but by the framework, through the DoModal() method. This article shows how to fix this problem for modal dialogs.-The AnimateWindow () function provides sp ecial effects (roll, slide, collapse, expand, and alpha-blended fade) for showing and hiding windows. It is an alternative to the ShowWindow () function. However, in the case of a modal dialog. ShowWindow () is not call directly by the user, but by the framework. through the DoModal () method. This article sho ws123 how to fix this problem for modal dialogs.
Platform: |
Size: 30720 |
Author: bobo_234_645 |
Hits:
Description: 加载属性页的DEMO,分别介绍了Wizd,Domodal和Nomodal三种模式的加载方式,简单易懂,适合初学者!-loading attributes page DEMO, introduced Wizd. Domodal Nomodal three models and the loading and easily understood, for beginners!
Platform: |
Size: 32768 |
Author: lee7 |
Hits:
Description: 编辑的应用
void CMyDlg::OnButton1() // { // TODO: Add your control notification handler code here UpdateData(TRUE) CDlg1 Dlg Dlg.m_Edit2=m_Edit1 //m_Edit1.Undo() CDialog::OnOK() Dlg.DoModal()-Edit the application void CMyDlg:: OnButton1 ()// (//TODO: Add your control notification handler code here UpdateData (TRUE) CDlg1 Dlg Dlg.m_Edit2 = m_Edit1// m_Edit1.Undo () CDialog:: OnOK () Dlg. DoModal ()
Platform: |
Size: 45056 |
Author: mashijia |
Hits:
Description: 点击按钮,弹出另一个对话框的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
Platform: |
Size: 24576 |
Author: SeVen Lee |
Hits:
Description: #ifdef _AFXDLL
Enable3dControls() // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic() // Call this when linking to MFC statically
#endif
CPreviewDialogDlg dlg
m_pMainWnd = &dlg
int nResponse = dlg.DoModal()
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed, return FALSE so that we exit the
// application, rather than start the application s message pump.
return FALSE
}
Platform: |
Size: 66560 |
Author: chen |
Hits:
Description: 用VC制作一个商品交易管理系统.部分代码:“// 商品交易管理系统View.cpp
#include “MyDlg1.h”
void CMyView::OnRadiospxx()
{
// TODO: Add your control notification handler code here
CMyDlg1 MyDlg1
MyDlg1.DoModal()
}
”-VC with the production of a commodity trading management system. Part of the code:
Platform: |
Size: 901120 |
Author: 华羿 |
Hits:
Description: 可动态修改模态对话框的标题.希望对初学者有用. 当然,我也是初学者,大家相互帮助,早日成功.-Dynamically modify the title of modal dialog box. Hope useful for beginners. Of course, I am also a beginner, we all help each other succeed at an early date.
Platform: |
Size: 429056 |
Author: 小柯 |
Hits:
Description: 一个巩固模态对话框与非模态对话框之间的区别的程序,通过两个按钮分别打开模态对话框和非模态对话框。-A solid non-modal dialog with the difference between modal dialog box procedure, with two buttons to open modal dialog and non-modal dialog box.
Platform: |
Size: 25600 |
Author: 永远 |
Hits: