Page 1 of 1

Subclassing

PostPosted: Sep 23, 2001 @ 3:02pm
by RICoder
Ok, so I tried to subclass the taskbar...HAR HAR.<br><br>It explodes in the message loop!  Now, in normal windows, it would work.  However in the CE documentation it says you should not subclass a window created outside of your process, that would be the taskbar.  Is this true?  Has anyone managed to pull this off?

Re: Subclassing

PostPosted: Sep 23, 2001 @ 3:54pm
by cryo
are you using MFC's CWnd::SubclassWindow or are you doing it the win32 way?

Re: Subclassing

PostPosted: Sep 23, 2001 @ 3:56pm
by RICoder
Win32.  GetWindowLong / SetWindowLong