Click here to Skip to main content
15,919,178 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Multithreaded server application - increase in application memory usage Pin
Mr.Brainley13-Sep-06 23:08
Mr.Brainley13-Sep-06 23:08 
AnswerRe: Multithreaded server application - increase in application memory usage Pin
Mr.Brainley13-Sep-06 23:09
Mr.Brainley13-Sep-06 23:09 
Questionpopping up a window Pin
narayanagvs13-Sep-06 19:51
narayanagvs13-Sep-06 19:51 
AnswerRe: popping up a window Pin
_AnsHUMAN_ 13-Sep-06 20:40
_AnsHUMAN_ 13-Sep-06 20:40 
QuestionHow to subclass a Messgebox Pin
LiYS13-Sep-06 19:36
LiYS13-Sep-06 19:36 
AnswerRe: How to subclass a Messgebox Pin
_AnsHUMAN_ 13-Sep-06 19:39
_AnsHUMAN_ 13-Sep-06 19:39 
GeneralRe: How to subclass a Messgebox Pin
LiYS13-Sep-06 20:03
LiYS13-Sep-06 20:03 
GeneralRe: How to subclass a Messgebox Pin
_AnsHUMAN_ 13-Sep-06 20:12
_AnsHUMAN_ 13-Sep-06 20:12 
LiYS wrote:
But where should I put messagebox related info to SetWindowsHookEx(...)

Put them in the HookProcedure
The prototype for the HookProcedure is
LRESULT CALLBACK HookProcedure(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM lParam)

You will also have to use these at appropriate places:
CallNextHookEx()
UnHookWindowsHookEx()

Somethings seem HARD to do, until we know how to do them.
Wink | ;-) _AnShUmAn_

GeneralRe: How to subclass a Messgebox Pin
LiYS13-Sep-06 20:08
LiYS13-Sep-06 20:08 
GeneralRe: How to subclass a Messgebox Pin
_AnsHUMAN_ 13-Sep-06 20:15
_AnsHUMAN_ 13-Sep-06 20:15 
GeneralRe: How to subclass a Messgebox Pin
LiYS13-Sep-06 21:51
LiYS13-Sep-06 21:51 
GeneralRe: How to subclass a Messgebox Pin
_AnsHUMAN_ 13-Sep-06 22:02
_AnsHUMAN_ 13-Sep-06 22:02 
AnswerRe: How to subclass a Messgebox Pin
Hamid_RT13-Sep-06 23:03
Hamid_RT13-Sep-06 23:03 
QuestionShow CWnd as active when not selected Pin
NorGUI13-Sep-06 19:18
NorGUI13-Sep-06 19:18 
QuestionAssertion Error while creating dialog box Pin
gloriousgopi13-Sep-06 18:45
gloriousgopi13-Sep-06 18:45 
QuestionRe: Assertion Error while creating dialog box Pin
prasad_som13-Sep-06 19:02
prasad_som13-Sep-06 19:02 
AnswerRe: Assertion Error while creating dialog box Pin
Hamid_RT13-Sep-06 19:22
Hamid_RT13-Sep-06 19:22 
QuestionRe: Assertion Error while creating dialog box Pin
gloriousgopi13-Sep-06 20:27
gloriousgopi13-Sep-06 20:27 
AnswerRe: Assertion Error while creating dialog box Pin
Hamid_RT13-Sep-06 20:52
Hamid_RT13-Sep-06 20:52 
AnswerRe: Assertion Error while creating dialog box Pin
David Crow14-Sep-06 3:23
David Crow14-Sep-06 3:23 
QuestionRegistry file path Pin
ashokvishnu13-Sep-06 17:56
ashokvishnu13-Sep-06 17:56 
AnswerRe: Registry file path Pin
ThatsAlok13-Sep-06 18:39
ThatsAlok13-Sep-06 18:39 
Questionplease: how a socket server prog can be called by MFC client?? Pin
alpa shah13-Sep-06 17:42
alpa shah13-Sep-06 17:42 
AnswerRe: please: how a socket server prog can be called by MFC client?? Pin
Naveen13-Sep-06 18:01
Naveen13-Sep-06 18:01 
GeneralRe: please: how a socket server prog can be called by MFC client?? Pin
ThatsAlok13-Sep-06 18:42
ThatsAlok13-Sep-06 18:42 

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.