Subclassing window 
Author Message
 Subclassing window

Can we subclass a window created by another process? If so, how?




Wed, 07 Jun 2000 03:00:00 GMT  
 Subclassing window

On Sat, 20 Dec 1997 21:07:47 +0700, "Kittisak Kulvichit"

Quote:

>Can we subclass a window created by another process? If so, how?



Since you use the word "process" I assume you are working on either
Win95 or WinNT.  The answer is for all practical purposes "NO", not if
you mean with traditional instance subclassing.  You can however use a
hook via the SetWindowsHookEx() API.  -steve
____________________________________________________________________
McAdams Research - MFC Extensions
        http://www.CodeTools.com/showcase


Fri, 09 Jun 2000 03:00:00 GMT  
 Subclassing window

There is an Article in MSDN (Safe Subclassing in win32) and a KB article
"HOWTO: Subclass a Window in Windows 95" ID: Q125680.
Check them out. Let me tell you, it aint easy!!!.. if possible, consider
some sort of inprocess subclassing or OLE..

Quote:

> Can we subclass a window created by another process? If so, how?



--
Girish Bharadwaj
Software developer
http://members.tripod.com/~GBharadwaj/index.html




Fri, 09 Jun 2000 03:00:00 GMT  
 Subclassing window

Quote:

>Can we subclass a window created by another process? If so, how?

This cannot be done in 32 bit windows due to the fact that each
process has a separate address space.

Paul Gunn



Fri, 09 Jun 2000 03:00:00 GMT  
 Subclassing window

There was an article in MSJ a couple of years ago that describes how to
INJECT your DLL into the address space of another process.  It's not easy,
but the article includes a DLL that boils it down to a simple function call.
Check the MSJ site on http://www.microsoft.com/msj, search for INJECTLIB (I
think)

Can we subclass a window created by another process? If so, how?




Fri, 16 Jun 2000 03:00:00 GMT  
 Subclassing window

Jeff Richter also spends a fair amount of time discussing this in "Advanced
Windows."

--
________________________________________________________________

Ray Brown                       Home: (612) 892-7329
Lawson Software                 Office: (612) 379-8086 x4393
1300 Godward Street             Fax: (612) 379-8512

________________________________________________________________

Quote:

>There was an article in MSJ a couple of years ago that describes how to
>INJECT your DLL into the address space of another process.  It's not easy,
>but the article includes a DLL that boils it down to a simple function
call.
>Check the MSJ site on http://www.microsoft.com/msj, search for INJECTLIB (I
>think)



Sat, 17 Jun 2000 03:00:00 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. Subclassing window

2. Subclassing window

3. Subclassing Windows

4. Subclassing Windows class in MFC

5. Subclassing window

6. Subclassing Windows

7. Q: subclassing windows in other application

8. Subclassing windows

9. Subclassing Window Question

10. Help:ACIVEX controls- subclassing Windows Control

11. Subclassing foreign window and changing memory in it

12. Subclassing a window in different process

 

 
Powered by phpBB® Forum Software