I am using Stock Color property page provided by msstkprp.dll in my VC++ MFC application built using VS2008.
When IPropertyPage::GetPageInfo call is made for the Stock color prop page (CLSID_StockColorPage), m_pActiveWnd member of CWinThread is set to NULL.
This causes some side effects in my application.
It will be very helpful if anyone can clarify why IPropertyPage::GetPageInfo modifies m_pActiveWnd.