Top DevX Stories
Creating Custom Export Filters for StarOffice with XSLT
WPF Wonders: Using DataTemplates
Crystal Reports Family Offers Options for Developers
Avaya Aura Session Manager video
Avaya Aura Overview video
Search the forums:

Go Back   DevX.com Forums > DevX Developer Forums > C++

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 12-02-2000, 07:27 AM
julien
Guest
 
Posts: n/a
SHFileOperation probleme


Hello.

I've got 2 problemes with SHFileOperation function.
So, this's my code :

/*****************/
sh.hwnd = (HWND) AfxGetMainWnd ();
sh.wFunc = FO_COPY;
sh.pFrom = pSource;
sh.pTo = pDest;
sh.fFlags = FOF_SIMPLEPROGRESS|FOF_MULTIDESTFILES;

sh.fAnyOperationsAborted= TRUE;
sh.hNameMappings = NULL;
sh.lpszProgressTitle = "Enregistrement en cours ...";

SHFileOperation (&sh);
/*****************/

The 1st probleme's if the destination file exist, it'll not be copied.
The 2nd probleme's that SHFileOperation must show a dialog progress
and it doesn't do that? Why ?

Thank.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 01:57 AM.


Sponsored Links



Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.