在CXxxCtrl文件中
HWND hAppWnd = NULL;
if (m_pInPlaceSite != NULL)
m_pInPlaceSite->GetWindow(&hAppWnd);
本文介绍了如何在CXxxCtrl文件中通过检查m_pInPlaceSite是否为空来获取应用程序窗口的句柄(hAppWnd)。
在CXxxCtrl文件中
HWND hAppWnd = NULL;
if (m_pInPlaceSite != NULL)
m_pInPlaceSite->GetWindow(&hAppWnd);

被折叠的 条评论
为什么被折叠?