Can any one tell me how can i use windowshook to hook to the Mouse and find out whether the mouse is over
my caption bar if so then how do i send a message so that the window Minimize's itself
Thankx in advance
Posted on 2003-04-22 00:26:23 by telophase
You don't need to use hooks for this. You can use GetCursorPos or use the values sent by mouse messages.

Sounds like you want to do something similar to NaN's 'rollup windows'

Check it out:
Posted on 2003-04-22 00:36:12 by iblis
But i want to learn more about WindowSHook's so i had posted this
can u please give me a detalied info on this topic or some good tutorial(OTHER THAN ICEZLION coz i already have it) or some good source code 4 program.
Posted on 2003-04-22 00:40:57 by telophase

Look at iczelion's tut24 about mouse hook.

Posted on 2003-04-22 01:00:34 by minor28
There's more info about hooks in the platform SDK. Other than that I don't know of any other 'detailed' info.

That being said they really aren't that difficult to understand. Iczelion's tutorial should have been more than enough to get you started.

I'm sure if you google for it you'll find a wealth of information. Good luck.
Posted on 2003-04-22 01:02:38 by iblis