Click here to Skip to main content
15,895,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to hook z-order change in window when not in focus? Pin
drai23-Jan-07 22:04
drai23-Jan-07 22:04 
Questionhow to close opened files Pin
pavan_sw23-Jan-07 22:02
pavan_sw23-Jan-07 22:02 
AnswerRe: how to close opened files Pin
toxcct23-Jan-07 22:14
toxcct23-Jan-07 22:14 
GeneralRe: how to close opened files Pin
pavan_sw23-Jan-07 22:25
pavan_sw23-Jan-07 22:25 
GeneralRe: how to close opened files Pin
toxcct23-Jan-07 22:33
toxcct23-Jan-07 22:33 
QuestionRe: how to close opened files Pin
Roger Stoltz23-Jan-07 22:23
Roger Stoltz23-Jan-07 22:23 
AnswerRe: how to close opened files Pin
pavan_sw23-Jan-07 22:28
pavan_sw23-Jan-07 22:28 
AnswerRe: how to close opened files Pin
Roger Stoltz23-Jan-07 22:59
Roger Stoltz23-Jan-07 22:59 
I suspect this "how to close opened files"-thread is connected with the thread above about memory stick.

I get the impression that you want to monitor files that are opened on the memory stick and force them to close when something else happens?

Q1: Is the assumption above correct?
Q2: Why do you want to do it?
Q3: When do you want to do it?

As toxcct said, it seems like you're facing the problem the wrong way.
What you should do is figure out what applications have opened the files on the memory stick, if possible, and send those application a WM_CLOSE message.

To be able to guide you better, you should describe your problem in more detail.
What problem are you trying to solve, described from a user perspective.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote

GeneralRe: how to close opened files Pin
pavan_sw24-Jan-07 1:22
pavan_sw24-Jan-07 1:22 
GeneralRe: how to close opened files Pin
Roger Stoltz24-Jan-07 2:41
Roger Stoltz24-Jan-07 2:41 
AnswerRe: how to close opened files Pin
Waldermort23-Jan-07 22:36
Waldermort23-Jan-07 22:36 
QuestionContextMenu : First Item selected Pin
baerten23-Jan-07 21:42
baerten23-Jan-07 21:42 
AnswerRe: ContextMenu : First Item selected Pin
Nibu babu thomas23-Jan-07 21:53
Nibu babu thomas23-Jan-07 21:53 
GeneralRe: ContextMenu : First Item selected Pin
baerten23-Jan-07 22:12
baerten23-Jan-07 22:12 
GeneralRe: ContextMenu : First Item selected Pin
Nibu babu thomas23-Jan-07 22:18
Nibu babu thomas23-Jan-07 22:18 
Questionhelp Pin
Bravoone_200623-Jan-07 21:00
Bravoone_200623-Jan-07 21:00 
AnswerRe: help Pin
KKumarTG24-Jan-07 0:10
KKumarTG24-Jan-07 0:10 
AnswerRe: help Pin
S Douglas24-Jan-07 1:29
professionalS Douglas24-Jan-07 1:29 
QuestionApllication Error Pin
siddharthsan23-Jan-07 20:57
siddharthsan23-Jan-07 20:57 
AnswerRe: Apllication Error Pin
Cedric Moonen23-Jan-07 21:00
Cedric Moonen23-Jan-07 21:00 
GeneralRe: Apllication Error Pin
siddharthsan23-Jan-07 22:30
siddharthsan23-Jan-07 22:30 
AnswerRe: Apllication Error Pin
Don Box23-Jan-07 21:01
Don Box23-Jan-07 21:01 
GeneralRe: Apllication Error Pin
toxcct23-Jan-07 21:43
toxcct23-Jan-07 21:43 
GeneralRe: Apllication Error Pin
Don Box23-Jan-07 22:34
Don Box23-Jan-07 22:34 
GeneralRe: Apllication Error Pin
toxcct23-Jan-07 22:39
toxcct23-Jan-07 22:39 

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.