|
-
Sep 23rd, 2006, 03:19 PM
#1
Thread Starter
Banned
Creating a hook (like moeur's VB control)
I was wondering how to create a hook like moeur's VB control, but to be used in c++. Also, instead of a control, I want a class that I can use like this:
Code:
clsHook myHook (Handle)
Or something like that.
Is this possible? I have no idea how.
-
Sep 23rd, 2006, 07:18 PM
#2
Re: Creating a hook (like moeur's VB control)
Hook? A Windows Hook or something else?
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Sep 24th, 2006, 07:13 AM
#3
Thread Starter
Banned
Re: Creating a hook (like moeur's VB control)
A hook with SetWindowsHookEx. Moeur's control actually sets 3 hooks, but I don't know which ones except for a Windows Message hook...
-
Sep 26th, 2006, 12:06 PM
#4
Re: Creating a hook (like moeur's VB control)
Can you write classes? Then you should be able to do whatever Moeur's control does.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Sep 27th, 2006, 08:16 PM
#5
Thread Starter
Banned
Re: Creating a hook (like moeur's VB control)
Yes, I can...but I don't know how to use DLLs, and I don't know how to translate the VB Control into C++ as a class...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|