-
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.
-
I believe you would need to create a C++ DLL for subclassing windows that are not in your thread.
-
See if you can get your hands on a copy of Spyworks from Desaware. http://www.desaware.com
-
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++.
-
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. :)
-
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.
-
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?