关于WS_CHILD和WS_POPUP
DWORD style=WS_VISIBLE|WS_CHILD;
if (!m_Com.Create(NULL,style,CRect(0,0,0,0),this,ID_COMMCTRL))
{
TRACE0("Failed to create OLE Communications Control\n");
return -1; //fail to create
}
这是添加在对话框初始化中的函数
我不太理解WS_CHILD和WS_POPUP到底是干什么的?
在对话框中界面上有什么显示出来的特征吗?我看msdn是这样说的WS_CHILD : Creates a child window. Cannot be used with the WS_POPUP style.
POPUP Creates a pop-up window. Cannot be used with the WS_CHILD style.
我想知道界面的实现上到底有什么区别啊