Click here to Skip to main content
15,891,657 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhy DrawText() fails? Pin
RS.Ratheesh3-Nov-11 4:03
RS.Ratheesh3-Nov-11 4:03 
QuestionRe: Why DrawText() fails? Pin
David Crow3-Nov-11 4:22
David Crow3-Nov-11 4:22 
AnswerRe: Why DrawText() fails? Pin
Albert Holguin3-Nov-11 4:55
professionalAlbert Holguin3-Nov-11 4:55 
AnswerRe: Access violation: Something is NULL Pin
Software_Developer3-Nov-11 6:46
Software_Developer3-Nov-11 6:46 
QuestionRe: Access violation: Something is NULL Pin
bob169724-Nov-11 3:44
bob169724-Nov-11 3:44 
AnswerRe: Why DrawText() fails? Pin
Richard MacCutchan3-Nov-11 7:14
mveRichard MacCutchan3-Nov-11 7:14 
QuestionRestore folder to previous version? Pin
bosfan3-Nov-11 3:23
bosfan3-Nov-11 3:23 
AnswerRe: Restore folder to previous version? Pin
David Crow3-Nov-11 4:28
David Crow3-Nov-11 4:28 
bosfan wrote:
i search for an function to restore folder content to previous status/version?
I mean, if i add new files to folder, i need in some cases to restore a status before adding new files!?
Restore to previous version?
Is there an API to use for that or some sample code??


No such API exists.

bosfan wrote:
Simple single deletion of any each file is not the way, because there can be many files added(hundreds)!


You can use SHFileOperation() with wildcards.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous


GeneralRe: Restore folder to previous version? Pin
bosfan3-Nov-11 4:34
bosfan3-Nov-11 4:34 
AnswerRe: No such function. Pin
App_3-Nov-11 7:31
App_3-Nov-11 7:31 
GeneralRe: No such function. Pin
Philippe Mori4-Nov-11 14:41
Philippe Mori4-Nov-11 14:41 
QuestionAfter video(MCIWndPlay) stops and window is moved control becomes empty??? Pin
VCProgrammer2-Nov-11 19:45
VCProgrammer2-Nov-11 19:45 
AnswerRe: After video(MCIWndPlay) stops and window is moved control becomes empty??? Pin
Software_Developer2-Nov-11 23:26
Software_Developer2-Nov-11 23:26 
QuestionSave as.. and open Pin
antonio3432-Nov-11 8:36
antonio3432-Nov-11 8:36 
AnswerRe: Save as.. and open Pin
Maximilien2-Nov-11 9:20
Maximilien2-Nov-11 9:20 
AnswerRe: Save as.. and open Pin
Richard MacCutchan2-Nov-11 9:36
mveRichard MacCutchan2-Nov-11 9:36 
GeneralRe: Save as.. and open Pin
antonio3432-Nov-11 9:43
antonio3432-Nov-11 9:43 
AnswerRe: Save as.. and open Pin
Albert Holguin2-Nov-11 9:52
professionalAlbert Holguin2-Nov-11 9:52 
GeneralRe: Save as.. and open Pin
Richard MacCutchan2-Nov-11 12:48
mveRichard MacCutchan2-Nov-11 12:48 
AnswerRe: Save as.. and open Pin
Albert Holguin2-Nov-11 9:50
professionalAlbert Holguin2-Nov-11 9:50 
GeneralRe: Save as.. and open Pin
antonio3432-Nov-11 10:18
antonio3432-Nov-11 10:18 
GeneralRe: Save as.. and open Pin
Albert Holguin2-Nov-11 10:58
professionalAlbert Holguin2-Nov-11 10:58 
AnswerRe: Save as.. and open Pin
Erudite_Eric2-Nov-11 11:20
Erudite_Eric2-Nov-11 11:20 
GeneralRe: Save as.. and open Pin
Albert Holguin2-Nov-11 18:44
professionalAlbert Holguin2-Nov-11 18:44 
GeneralRe: Save as.. and open Pin
antonio3436-Nov-11 12:05
antonio3436-Nov-11 12:05 

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.