Click here to Skip to main content
12,251,889 members (61,191 online)

C / C++ / MFC

 
QuestionHow to add and remove a toolbar? Pin
Franken6-Dec-05 23:56
memberFranken6-Dec-05 23:56 
AnswerRe: How to add and remove a toolbar? Pin
kakan7-Dec-05 1:07
memberkakan7-Dec-05 1:07 
GeneralRe: How to add and remove a toolbar? Pin
Franken7-Dec-05 1:12
memberFranken7-Dec-05 1:12 
QuestionIs there any way to verify a HHOOK? Pin
=[ Abin ]=6-Dec-05 23:49
member=[ Abin ]=6-Dec-05 23:49 
In a recent project I used WH_JOURNALRECORD to moniter certain events occur in a particular application window, but as MSDN said, as soon as the user press "CTRL+ESC" or "CTRL+ALT+DEL", all installed WH_JOURNALRECORD hooks will be wiped out by the OS... When this happens, my application does not know, so it would still wait for messages(which will never come anymore) from the target window.

My questions is that, is there any way to verify whether a HHOOK handle is still on a "valid" state, so I can reinstall the hook if needed? Thanks
AnswerRe: Is there any way to verify a HHOOK? Pin
S. Senthil Kumar7-Dec-05 1:15
memberS. Senthil Kumar7-Dec-05 1:15 
GeneralRe: Is there any way to verify a HHOOK? Pin
=[ Abin ]=7-Dec-05 1:43
member=[ Abin ]=7-Dec-05 1:43 
GeneralRe: Is there any way to verify a HHOOK? Pin
=[ Abin ]=7-Dec-05 3:29
member=[ Abin ]=7-Dec-05 3:29 
GeneralRe: Is there any way to verify a HHOOK? Pin
S. Senthil Kumar7-Dec-05 4:07
memberS. Senthil Kumar7-Dec-05 4:07 
GeneralRe: Is there any way to verify a HHOOK? Pin
Blake Miller7-Dec-05 5:06
memberBlake Miller7-Dec-05 5:06 
GeneralRe: Is there any way to verify a HHOOK? Pin
S. Senthil Kumar7-Dec-05 5:24
memberS. Senthil Kumar7-Dec-05 5:24 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 5 May 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid