vc中能否调用windows中拷贝文件的那个进度条?

juli 2002-03-18 09:57:43
现在要实现拷贝文件的功能,时间较长.不想自己做个进度条,问能不能调用windows中拷贝文件的那个进度条?
...全文
109 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
蒋晟 2002-03-18
  • 打赏
  • 举报
回复
Requirements
Version 5.00 and later of Shell32.dll

Windows NT/2000: Requires Windows 2000.
Windows 95/98/Me: Requires Windows Me.

IProgressDialog
The IProgressDialog interface is exported by the progress dialog box object (CLSID_ProgressDialog). This object is a generic way to show a user how an operation is progressing. It is typically used when deleting, uploading, copying, moving, or downloading large numbers of files.

The progress dialog box object creates a modeless dialog box and allows the client to set its title, animation, text lines, and progress bar. The object then handles updating on a background thread and allows the user to cancel the operation. Optionally, it estimates the time remaining until the operation is complete and displays the information as a line of text.

BUG: PROGDLG_NOMINIMIZE Flag in IProgressDialog::StartProgressDialog() Has No Effect

Q260222


--------------------------------------------------------------------------------
The information in this article applies to:

Microsoft Win32 Software Development Kit (SDK), on platform(s):
the operating system: Microsoft Windows 2000
prometheusphinx 2002-03-18
  • 打赏
  • 举报
回复
用SHFileOperation函数,SHFILEOPSTRUCT结构中的fFlags中不要设定FOF_SILENT一项。
ndy_w 2002-03-18
  • 打赏
  • 举报
回复
SHFileOperation()

16,551

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • Creator Browser
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

试试用AI创作助手写篇文章吧