佚名通过本文主要向大家介绍了atl控件,atl,atl71.dll,atl100.dll下载,atl71.dll修复等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: ATL 的控件如何让 m_hWnd 有效
描述:
解决方案1:
描述:
想给控件传递消息,但是它的m_hWnd是 NULL.
解决方案1:
接口实现类构造中加:m_bWindowOnly = TRUE;
解决方案2: Yeah.
the ATL window /controls use the m_hWnd member variable of CWindow which is
valued when we call
CreateWindow()
or
SubclassWindow()
or
Attach()
or
just =
必须CreateWindow后才有效.