I'm having difficultry trying to subclass the desktop. I've tried the following:

subClass.SubclassWindow(GetDesktopWindow()->m_hWnd);



subClass is a class that I've derived from CWnd to capture messages. Any help is appreciated.