|
-
Nov 27th, 2000, 06:10 AM
#1
Thread Starter
Fanatic Member
-
Nov 27th, 2000, 09:18 AM
#2
Hyperactive Member
You've found you can AppendMenu, but when you SetWindowLong (with the other apps window hwnd, and your WindowProc) is returning zero - correct?
You will need to use Hooks to respond to the WM_SYSCOMMAND from the other app. You cannot do this in VB, as you need to create a dll (c++) that is injected into a foreign process space. Once you have this dll, it can call your custom window proc (as in normal subclassing). After your processing, your proc uses the dll to pass back to any other Global Hooks knocking around.
td.
"One logical slip and an entire scientific edifice comes tumbling down." - Robert M. Pirsig
[email protected]
"but if Einstein is right and God is in the details, reality requires that we sometimes get religion." - Scott Meyers.
-
Nov 27th, 2000, 09:33 AM
#3
Thread Starter
Fanatic Member
-
Nov 27th, 2000, 09:48 AM
#4
Hyperactive Member
I can recomend a v.good book.
Win32 API Programming with Visual Basic. (O'Reilly, ISBN 1-56592-631-5).
To start friggin around with this kind of stuff, really does take balls, you will need a reference like this to do it (This is the kind of stuff that can give Dan Appleman a bad day). It is written by a guy called Steven Roman.
It comes with a dll to do what you want to do, and examples.
td.
"One logical slip and an entire scientific edifice comes tumbling down." - Robert M. Pirsig
[email protected]
"but if Einstein is right and God is in the details, reality requires that we sometimes get religion." - Scott Meyers.
-
Nov 28th, 2000, 06:03 AM
#5
Thread Starter
Fanatic Member
-
Nov 28th, 2000, 07:02 AM
#6
Hyperactive Member
I can send you the dll. But i really recomend you DON'T try this stuff without reading up on it. It's not just a question of using the DLL, you really have to know stuff that's going on under the hood.
td.
"One logical slip and an entire scientific edifice comes tumbling down." - Robert M. Pirsig
[email protected]
"but if Einstein is right and God is in the details, reality requires that we sometimes get religion." - Scott Meyers.
-
Nov 28th, 2000, 07:56 AM
#7
Thread Starter
Fanatic Member
-
Nov 28th, 2000, 09:00 AM
#8
Hyperactive Member
i'm facing deadlines myself (already missed one). I know how your position. If you know subclassing, then you should be able to digest the two chapters in an hour. Amazon should be able to deliver within a day...
I can mail you dll if you want, but your on your own (at least till i'm not so busy).
td.
"One logical slip and an entire scientific edifice comes tumbling down." - Robert M. Pirsig
[email protected]
"but if Einstein is right and God is in the details, reality requires that we sometimes get religion." - Scott Meyers.
-
Oct 15th, 2003, 08:43 AM
#9
yay gay
i would like to get it? could you plz send me to [email protected]?
\m/  \m/
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
|