Results 1 to 3 of 3

Thread: What really hooks are???

  1. #1

    Thread Starter
    Frenzied Member moinkhan's Avatar
    Join Date
    Jun 2000
    Location
    Karachi, Pakistan
    Posts
    2,011

    What really hooks are???

    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

  2. #2
    Frenzied Member Shawn N's Avatar
    Join Date
    Dec 2001
    Location
    Houston
    Posts
    1,631
    Subclassing a window and hooking a window are the same things.

    What do you mean by "intercept messages from the desktop" ???
    Please rate my post.

  3. #3

    Thread Starter
    Frenzied Member moinkhan's Avatar
    Join Date
    Jun 2000
    Location
    Karachi, Pakistan
    Posts
    2,011
    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???

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width