Ok well I am trying to create a system wide hook where my application can be informed if a WM_CREATE message is BEING SENT to the window. I am trying to figure out how to properly set this Global/System Wide hook and intercept the message accordingly.

I basically want to trash it (nullify) before it reaches the specific window that it is in progress to.
Im sure this can be done with a driver (since i think everything can) but I am looking for something simple.
I've noticed it is quite easy to monitor mesages but not intercept them. (RegisterWindowMessage)
The SetWindowsHookEx seems to want a dll to set a global hook for anythign other than Mouse and Key hooking. (Which is very very annoying since I really hate dlls and how applications then requrie more files and have more dependencies and more crap to go wrong)

I am wondering if this is possible without a dll (setting a global window message listening & managing hook)

If not then I guess I will just have to deal with the damn dll.

My main concern in this thread is... Can anyone post some examples window message interception with system hooks.
I know they must be out there, because I know many applications implement them inorder to properly perform various window events effeciently without resource consumption.)

So if you have any examples (preferably without dll usage, but if only way then I would like to see) please post. Thanks