Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

IPropertyPage::GetPageInfo call sets AfxGetApp()->m_pActiveWnd to NULL for StockColorPage provided by msstkprp.dll

$
0
0

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.


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>