Click here to Skip to main content
15,892,072 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Scanning IE8 memory. Pin
Richard Andrew x649-Jun-10 4:43
professionalRichard Andrew x649-Jun-10 4:43 
AnswerRe: Scanning IE8 memory. Pin
Stephen Hewitt9-Jun-10 14:08
Stephen Hewitt9-Jun-10 14:08 
QuestionDeleting a file to the recycle bin using SHFileOperation Pin
elie0029-Jun-10 0:38
elie0029-Jun-10 0:38 
I have a program which, among other things, is deleting completed-tasks file(s). I am using the SHFileOperation with FOF_ALLOWUNDO. I am displaying a warning "are you sure..." to the user before deleting.

Apparently, there are cases where files are not moved to the recycle bin but are deleted permanently even if the flag ALLOWUNDO is set (if they reside on network drives, removable drives or if they are too large). In this case I want the warning message to tell the user that the files are going to be deleted permanently and not be sent to the recycle bin (as explorer does).

How do I know if a file is going to be deleted permanently or is going to be send to the recycle bin?

thanks,
AnswerRe: Deleting a file to the recycle bin using SHFileOperation Pin
Niklas L9-Jun-10 1:08
Niklas L9-Jun-10 1:08 
GeneralRe: Deleting a file to the recycle bin using SHFileOperation Pin
elie0029-Jun-10 1:38
elie0029-Jun-10 1:38 
QuestionRe: Deleting a file to the recycle bin using SHFileOperation Pin
David Crow9-Jun-10 3:02
David Crow9-Jun-10 3:02 
AnswerRe: Deleting a file to the recycle bin using SHFileOperation Pin
elie0029-Jun-10 20:31
elie0029-Jun-10 20:31 
QuestionTask Mgr message Pin
Pryabu8-Jun-10 23:05
Pryabu8-Jun-10 23:05 
AnswerMessage Removed Pin
8-Jun-10 23:09
rp_suman8-Jun-10 23:09 
GeneralRe: Task Mgr message Pin
Pryabu8-Jun-10 23:11
Pryabu8-Jun-10 23:11 
GeneralRe: Task Mgr message Pin
rp_suman8-Jun-10 23:21
rp_suman8-Jun-10 23:21 
GeneralRe: Task Mgr message Pin
Pryabu8-Jun-10 23:30
Pryabu8-Jun-10 23:30 
AnswerRe: Task Mgr message Pin
«_Superman_»8-Jun-10 23:39
professional«_Superman_»8-Jun-10 23:39 
GeneralRe: Task Mgr message Pin
Pryabu8-Jun-10 23:56
Pryabu8-Jun-10 23:56 
GeneralRe: Task Mgr message Pin
«_Superman_»9-Jun-10 0:02
professional«_Superman_»9-Jun-10 0:02 
GeneralRe: Task Mgr message Pin
Pryabu9-Jun-10 0:04
Pryabu9-Jun-10 0:04 
GeneralRe: Task Mgr message Pin
rakesh54549-Jun-10 0:20
rakesh54549-Jun-10 0:20 
GeneralRe: Task Mgr message Pin
Pryabu9-Jun-10 0:44
Pryabu9-Jun-10 0:44 
GeneralRe: Task Mgr message Pin
Richard Andrew x649-Jun-10 4:48
professionalRichard Andrew x649-Jun-10 4:48 
GeneralRe: Task Mgr message Pin
«_Superman_»9-Jun-10 6:21
professional«_Superman_»9-Jun-10 6:21 
GeneralRe: Task Mgr message Pin
Stephen Hewitt9-Jun-10 14:10
Stephen Hewitt9-Jun-10 14:10 
AnswerRe: Task Mgr message Pin
Stephen Hewitt9-Jun-10 14:14
Stephen Hewitt9-Jun-10 14:14 
Questionmemory leak Pin
zon_cpp8-Jun-10 23:04
zon_cpp8-Jun-10 23:04 
AnswerRe: memory leak Pin
rp_suman8-Jun-10 23:26
rp_suman8-Jun-10 23:26 
AnswerRe: memory leak Pin
Niklas L8-Jun-10 23:29
Niklas L8-Jun-10 23:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.