i need a basic example for installing a globle shell hook. i think i know howto put a ShellProc in a dll and load it and call SetWindowsHookEx() from another app. But i havent seen a message handling ShellProc before. Could you guys please post an example of a working ShellProc, or direct me to a tutorial or something. Thanks for any help.
I suppose it would look something like:
LRESULT CALLBACK MyShellProc(int nCode, WPARAM wParam, LPARAM lParam)
//handle this message
//handle other messages