Creating an ActiveX control when the dialog box, Create
orDoModal函数会调用
AtlAxCreateDialog
或者AtlAxDialogBox
函数。
会创建class为
AtlAxWin window class, the parent window as an ActiveX control window. WTL provides CAxWindow
for AtlAxWin encapsulated window class, and CAxWindow
may communicate with the ActiveX controls. It provides a QueryControl
function, you can query interface.
Reproduced in: https: //www.cnblogs.com/fanzi2009/archive/2009/08/14/1546368.html