Welcome![Sign In][Sign Up]
Location:
Search - CFileDialog

Search list

[File OperateSelectFilesPath

Description: 该程序实现了在CFileDialog中,一次选中多个文件时,文件路径的处理-the program in CFileDialog, a selected number of documents, document processing path
Platform: | Size: 28672 | Author: fwy | Hits:

[GUI Developopenfiledlg3

Description: 近有位读者来信指出:《在线杂志》第26期中有一篇文章:“再谈 CFileDialog 对话框的定制”,其例子程序有一个bug。如果多选时选中的文件过多,那么后面选中的文件将无效,也就是说即使也白选,点击“确定”后没有任何操作 。本文将提供解决此问题的办法,并说明问题的来由。代码性质] VC完整应用程序代码 [代码作者] Northtibet [文件大小] 28K [更新日期] 2005-9-28 17:17:00 -recent letter from a reader : "online magazine" 26 is a period of the article : "CFileDialog return to the Custom dialog box," its procedures example of a bug. If more elections in the selected documents excessive, then behind the selected document will be invalid, which means that even if elections are white, and click on "identified" no operation. This paper will provide a solution to this problem, and indicate the origins of the problem. Nature code] VC integrity of the application code [code writers] Northtibet [Size] 28K [updated] 2005-9-28 17:17:
Platform: | Size: 41984 | Author: 石先生 | Hits:

[Windows Developfolderdlg

Description: 派生CFileDialog,使之不仅可选择文件,还可选择目录-CFileDialog derivatives, so that it not only can, they can also choose Contents
Platform: | Size: 41984 | Author: 网子 | Hits:

[TreeViewCDirTreeCtrl_demo

Description: vc6.0编译运行,在程序中不利用CFileDialog,自制目录树,可以在每个文件和目录节点前加上复选框,实现多选-vc6.0 compiler operation, the procedure does not use CFileDialog-made tree, in each file and directory node insert box, multi-elections
Platform: | Size: 55296 | Author: 蒲川江 | Hits:

[ListView/ListBoxFilePickCtrl2

Description: VC6.0编译运行,用CCtrlList列表浏览目录文件,不用CFileDialog,可以自己进行各种控制操作-VC6.0 compiler running with CCtrlList List View, documents not CFileDialog can control their various operations
Platform: | Size: 18432 | Author: 蒲川江 | Hits:

[GUI Developtongyongduihuakuang

Description: 实现了MFC中的通用对话框CFileDialog与其他控件的组合使用,使得文件对话框有更大的灵活性-realized MFC common CFileDialog dialog with other controls the use of the combination, making dialog with greater flexibility
Platform: | Size: 389120 | Author: | Hits:

[File OperateMyOKFile

Description: 本程序演示const char *与char * const的区别。C语言对文件读写的支持,FILE指针;文本文件和二进制文件的区别。用文本方式读写文件和以二进制方式读写文件的注意事项。C++对文件读写的支持,ofstream和ifstream的用法。Win32 SDK对文件读写的支持,CreateFile函数、WriteFile函数、ReadFile函数的使用;MFC对文件读写的支持,CFile类和CFileDialog的使用,文件过滤器的设置。win.ini文件和注册表的读写方式及相关知识点。-demonstration of the procedures const char* const char* distinction. C language of the document to read and write support, FILE pointer; Text and binary files distinction. Text mode is used to read and write files in binary mode and document literacy matters to the attention. C of the document to read and write support, and ofstream ifstream usage. Win32 SDK documentation to support literacy, CreateFile function, WriteFile function, ReadFile function; MFC right document literacy support CFile CFileDialog class and the use of file filters set. Extracts documents and the registry of literacy and associated knowledge point.
Platform: | Size: 38912 | Author: qiyunping | Hits:

[Dialog_Windowcustomfile

Description: 这个例子能够在CFileDialog中增加一对按纽-This example can increase the CFileDialog a button
Platform: | Size: 27648 | Author: 田明儒 | Hits:

[OtherCFileDialogAddin_src

Description: 这是VC的一个插件的源代码,编译后生成dll。VC加载上后,可以用它来生成各种需要的CFileDialog的调用代码,非常方便。-This is a plug-in source code, compile after generation dll. VC loaded on, it can be used to generate a variety of needs CFileDialog call code is very convenient.
Platform: | Size: 26624 | Author: huashantian | Hits:

[File Formatnotview

Description: 文件视图,CFrameWnd C Static CRect MoveWindow CreatePen CSize CDC SetBkMode SelectObject CPen LineTo SetTextColor CString TextOut CFont CreateFont DrawText CreateDC GetDeviceCaps DeleteDC GetObject GlobalAlloc GlobalLock GetStockObject GetDC SelectPalette RealizePalette GetDIBits ReleaseDC CreateFile WriteFile GlobalUnlock GlobalFree CloseHandle CPaintDC CBitmap CreateCompatibleDC CreateCompatibleBitmap PtInRect BitBlt DeleteObject CPoint ShowWindow ClientToScreen GetWindowDC GetWindowRect CFileDialog CWinApp CSingleDocTemplate CCommandLineInfo UpdateWindow CDialog CDataExchange CDocument CView CPrintInfo GetClientRect SetWindowLong GetWindowLong LoadLibrary GetProcAddress GetLastError FreeLibrary CreateDialog-document View, CFrameWnd CWnd CStatic CRect MoveWindow Creat ePen CSize CDC SetBkMode SelectObject CPen Lin eTo SetTextColor CString TextOut CFont Back Font DrawText CreateDC GetDeviceCaps DeleteD C GetObject GlobalAlloc GlobalLock GetStockO bject GetDC RealizePalette Get SelectPalette DIBits ReleaseDC CreateFile WriteFile Global Unlock GlobalFree CloseHandle CPaintDC CBitm ap CreateCompatibleDC CreateCompatibleBitm ap PtInRect BitBlt DeleteObject CPoint ShowWi ndow ClientToScreen GetWindowDC GetWindowRe ct CFileDialog CWinApp CSingleDocTemplate CC ommandLineInfo UpdateWindow CDialog CDataEx change CDocument CView CPrintInfo GetClientR ect SetWindowLong GetWindowLong LoadLibrary GetProcAddress GetLastError FreeLibrary Cre ateDialog
Platform: | Size: 26624 | Author: slansam | Hits:

[Dialog_WindowVC++CFileDialog1

Description: 在本例中,我们将制作一个利用CfileDialog类弹出“打开”对话筐的应用程序。-in this case, We will make use of a pop-up CfileDialog category "open" dialogue basket applications.
Platform: | Size: 2066432 | Author: 况光明 | Hits:

[Windows Developconstcharcharconst

Description: const char *与char * const的区别。C语言对文件读写的支持,FILE指针;文本文件和二进制文件的区别。用文本方式读写文件和以二进制方式读写文件的注意事项。C++对文件读写的支持,ofstream和ifstream的用法。Win32 SDK对文件读写的支持,CreateFile函数、WriteFile函数、ReadFile函数的使用;MFC对文件读写的支持,CFile类和CFileDialog的使用,文件过滤器的设置。win.ini文件和注册表的读写方式及相关知识点。-const char* and char* const distinction. C language of the document to read and write support, FILE pointer text file and binary file distinction. Used to read and write text files and read and write files in binary mode Notes. C++ Of documents to read and write support, ofstream and ifstream usage. Win32 SDK to read and write support for the document, CreateFile function, WriteFile function, ReadFile function to use MFC support reading and writing of the document, CFile Class CFileDialog and the use of paper filter settings. win.ini file and registry read and write methods and related knowledge points.
Platform: | Size: 38912 | Author: cgw | Hits:

[GUI DevelopCFileDialog

Description: 介绍打开文件对话框时如何显示win2000界面,介绍相当详细,我已按照该方法调试通过
Platform: | Size: 57344 | Author: 萧飒 | Hits:

[File OperateFile

Description: const char *与char * const的区别。C语言对文件读写的支持,FILE指针;文本文件和二进制文件的区别。用文本方式读写文件和以二进制方式读写文件的注意事项。C++对文件读写的支持,ofstream和ifstream的用法。Win32 SDK对文件读写的支持,CreateFile函数、WriteFile函数、ReadFile函数的使用;MFC对文件读写的支持,CFile类和CFileDialog的使用,文件过滤器的设置。win.ini文件和注册表的读写方式及相关知识点。-const char* and char* const distinction. C language of the document to read and write support, FILE pointer text file and binary file distinction. Used to read and write text files and read and write files in binary mode Notes. C++ Of documents to read and write support, ofstream and ifstream usage. Win32 SDK to read and write support for the document, CreateFile function, WriteFile function, ReadFile function to use MFC support reading and writing of the document, CFile Class CFileDialog and the use of paper filter settings. win.ini file and registry read and write methods and related knowledge points.
Platform: | Size: 36864 | Author: asfsafd | Hits:

[Dialog_WindowMultiSelect

Description: 一个CFileDialog的派生类,实现多个文件的打开,并将文件名显示出来-A CFileDialog derived class, open multiple documents and file name are displayed
Platform: | Size: 19456 | Author: wuming918 | Hits:

[OS programFile

Description: const char *与char * const的区别。C语言对文件读写的支持,FILE指针;文本文件和二进制文件的区别。用文本方式读写文件和以二进制方式读写文件的注意事项。C++对文件读写的支持,ofstream和ifstream的用法。Win32 SDK对文件读写的支持,CreateFile函数、WriteFile函数、ReadFile函数的使用;MFC对文件读写的支持,CFile类和CFileDialog的使用,文件过滤器的设置。win.ini文件和注册表的读写方式及相关知识点。-const char* and char* const distinction. C language of the document to read and write support, FILE pointer text file and binary file distinction. Used to read and write text files and read and write files in binary mode Notes. C++ Of documents to read and write support, ofstream and ifstream usage. Win32 SDK to read and write support for the document, CreateFile function, WriteFile function, ReadFile function to use MFC support reading and writing of the document, CFile Class CFileDialog and the use of paper filter settings. win.ini file and registry read and write methods and related knowledge points.
Platform: | Size: 38912 | Author: jiangyang520 | Hits:

[File OperateReadFile

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) } -Open a TXT file and displayed in the EDIT control steps: 1. Create a new dialog-based project, known as the ReadFile2. In the interface to add a button (IDC_BUTTON1) and a text editor (IDC_EDIT1) IDC_EDIT1 properties: multi-line, can be drop-down scroll bar .3. Edit button trigger events (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: 1888256 | Author: 这程子 | Hits:

[VC/MFClesson12

Description: 孙鑫老师VC视频第十二课代码:const char *与char * const的区别。C语言对文件读写的支持,FILE指针;文本文件和二进制文件的区别。用文本方式读写文件和以二进制方式读写文件的注意事项。C++对文件读写的支持,ofstream和ifstream的用法。Win32 SDK对文件读写的支持,CreateFile函数、WriteFile函数、ReadFile函数的使用;MFC对文件读写的支持,CFile类和CFileDialog的使用,文件过滤器的设置。win.ini文件和注册表的读写方式及相关知识点。-SUN Xin video twelfth class teacher VC code: const char* and char* const distinction. C language of the document to read and write support, FILE pointer text file and binary file distinction. Used to read and write text files and read and write files in binary mode Notes. C++ Of documents to read and write support, ofstream and ifstream usage. Win32 SDK to read and write support for the document, CreateFile function, WriteFile function, ReadFile function to use MFC support reading and writing of the document, CFile Class CFileDialog and the use of paper filter settings. win.ini file and registry read and write methods and related knowledge points.
Platform: | Size: 38912 | Author: shanyingying | Hits:

[VC/MFCmyread

Description: 文本文件和二进制文件的区别。用文本方式读写文件和以二进制方式读写文件的注意事项。C++对文件读写的支持,ofstream和ifstream的用法。Win32 SDK对文件读写的支持,CreateFile函数、WriteFile函数、ReadFile函数的使用;MFC对文件读写的支持,CFile类和CFileDialog的使用-Text file and binary file distinction. Used to read and write text files and read and write files in binary mode Notes. C++ Of documents to read and write support, ofstream and ifstream usage. Win32 SDK to read and write support for the document, CreateFile function, WriteFile function, ReadFile function to use MFC support reading and writing of the document, CFile Class CFileDialog and the use of
Platform: | Size: 286720 | Author: 周游 | Hits:

[Windows CEIImage

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() }-wince EVC simple picture browsing, support the expansion of their own free*. bmp*. jpg*. gif*. png, etc.// TODO: Add your control notification handler code hereCString defFilter (
Platform: | Size: 20480 | Author: lzy | Hits:
« 1 23 4 5 6 7 8 »

CodeBus www.codebus.net