PC Review


Reply
 
 
pigeonrandle
Guest
Posts: n/a
 
      17th Jul 2006
....as in i seem to be going round in one. It's frustratingly small
aswell!

All i want to do is create a message hook (like the one SPY++ uses) so
i can watch a window (for which i already have the handle) for certain
messages. All the examples i have looked at seem only interested in
hooking mouse and keyboard events (when i want to capture window
messages like WM_MOVE and alike). WH_CBT looks like a good option but i
cannot find any examples ... just like this poor chap ...
http://www.mcse.ms/archive103-2006-2-2136142.html !

If anyone has created something like this in the past then their input
will be held in extremely high regard!

One thousand and twenty four thankyous
James Randle.

 
Reply With Quote
 
 
 
 
Chris Dunaway
Guest
Posts: n/a
 
      18th Jul 2006
pigeonrandle wrote:
>
> All i want to do is create a message hook (like the one SPY++ uses) so
> i can watch a window (for which i already have the handle) for certain
> messages. All the examples i have looked at seem only interested in


Try this link:

http://www.codeproject.com/csharp/GlobalSystemHook.asp

Here's another link. There is a section on message hooks. It should
give you some ideas.

http://msdn.microsoft.com/msdnmag/is...04/ManagedSpy/

And finally the docs for SetWindowsHookEx:

http://tinyurl.com/ojqhf

 
Reply With Quote
 
pigeonrandle
Guest
Posts: n/a
 
      18th Jul 2006
Chris,
Many thanks, i shall have a peruse!

James.

Chris Dunaway wrote:
> pigeonrandle wrote:
> >
> > All i want to do is create a message hook (like the one SPY++ uses) so
> > i can watch a window (for which i already have the handle) for certain
> > messages. All the examples i have looked at seem only interested in

>
> Try this link:
>
> http://www.codeproject.com/csharp/GlobalSystemHook.asp
>
> Here's another link. There is a section on message hooks. It should
> give you some ideas.
>
> http://msdn.microsoft.com/msdnmag/is...04/ManagedSpy/
>
> And finally the docs for SetWindowsHookEx:
>
> http://tinyurl.com/ojqhf


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make circle within circle graphs in Excel 2003? =?Utf-8?B?TGFuY2U=?= Microsoft Excel Charting 2 5th Dec 2006 01:59 AM
How do I set up a circle within a circle chart? =?Utf-8?B?S2Vu?= Microsoft Excel Charting 3 4th Aug 2006 12:39 PM
How do I circle words?? EX: Yes or No (circle one) =?Utf-8?B?UmFuZ2Vy?= Microsoft Word Document Management 1 11th Jan 2005 02:55 PM
Circle within a circle graph jeramiew48@yahoo.com Microsoft Excel Discussion 2 26th Oct 2004 12:34 PM
little box with red circle and X thru it orphic2001 Windows XP Security 1 3rd Sep 2003 07:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:55 PM.