|
-
Dec 30th, 2000, 08:29 AM
#1
Thread Starter
Addicted Member
Can I possibly get those messages sent by Windows to other windows that are not owned by my application? For example, I wanted to detect if a paint event for that window occurs and act accordingly. For example the window is the handle of the taskbar. Any help would be appreciated.
 Stupidity is better than cure.
VB6 SP5 Enterprise Ed.
C, Pascal, VC++ 6.0
Running Win98 SE and Win2000 Prof. Ed.
Email me at : [email protected]
-
Dec 30th, 2000, 01:11 PM
#2
I believe you would need to create a C++ DLL for subclassing windows that are not in your thread.
-
Jan 3rd, 2001, 09:53 PM
#3
Addicted Member
See if you can get your hands on a copy of Spyworks from Desaware. http://www.desaware.com
-
Jan 4th, 2001, 10:52 AM
#4
I assume Spyworks is some type of program; if a program is what you want, then simply use Spy++, which is shipped with Visual C++.
-
Jan 6th, 2001, 04:30 AM
#5
Thread Starter
Addicted Member
yeah, I have seen that Spy++. If it was possible with VC++ then also in VB. I think it is possible but I don't have any idea how.
 Stupidity is better than cure.
VB6 SP5 Enterprise Ed.
C, Pascal, VC++ 6.0
Running Win98 SE and Win2000 Prof. Ed.
Email me at : [email protected]
-
Jan 6th, 2001, 05:51 PM
#6
lol, it should be the other way around. If it's possible in VB, then it's possible in VC++. VC++ can do many things that VB can't. IF you want to do this in VB, you need to create a Standard DLL (using C++, because VB can only create ActiveX and OLE DLL's) and use this within your App.
-
Jan 7th, 2001, 02:48 AM
#7
Thread Starter
Addicted Member
I see... That's what I think of. I think most of the functions in VC++ is also API. What's the difference between subclassing and hooks. Isn't they related?
 Stupidity is better than cure.
VB6 SP5 Enterprise Ed.
C, Pascal, VC++ 6.0
Running Win98 SE and Win2000 Prof. Ed.
Email me at : [email protected]
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
|