Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Not sure about subclassing...

Status
Not open for further replies.

incognico

Programmer
Joined
Dec 10, 2001
Messages
4
Location
AU
I am trying to use subclassing for the first time.
I have created the 'demo' program from this page:


which hooks messages to the main form, and prints them to the debug window. I have replaced the Form1.Hwnd with the HWnd of another application (using the FindWindow API). Now I see no messages at all...

Can anyone tell me why this doesn't work...?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top