PDA

Click to See Complete Forum and Search --> : What really hooks are???


moinkhan
Mar 3rd, 2002, 09:29 AM
Hello you all.
I read some documentation that the hooks are everything about intercepting messages from some other sources.. Then i read about subclassing... and it was also something like that...
Is there any relation of both???
and I want to ask ...
Is it possible to intercept messages from the desktop through subclassing???


Thank you in advance

Shawn N
Mar 3rd, 2002, 02:28 PM
Subclassing a window and hooking a window are the same things.

What do you mean by "intercept messages from the desktop" ???

moinkhan
Mar 3rd, 2002, 03:05 PM
I think that desktop is the parent of all windows and it receives all the messages before a window can get it. I want to do something like that my application should know what has happened in the system like...mouse was down or up.. window was open or closed system settings are changed....and so on...

I tried hooks but it produced illegal operations...
any clue???