ocx控件获取使用App的窗口句柄

来源:互联网 发布:paperpass 淘宝 编辑:程序博客网 时间:2024/05/20 00:52

在CXxxCtrl文件中

HWND hAppWnd = NULL;if (m_pInPlaceSite != NULL)  m_pInPlaceSite->GetWindow(&hAppWnd);


 

原创粉丝点击