CWnd* pParentWnd 什么意思
BOOL Create( LPCTSTR lpszText, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID = 0xffff );
上面是MSDN中的原型
void CDIAArtwoek:: bigpicshow()//显示图片
{
CStaticPic* myStatic;//CStaticPic继承CStatic类
for(int i=0;i<5;i++)
{
myStatic[i].Create( NULL,WS_EX_TRANSPARENT|WS_CHILD|WS_VISIBLE|WS_TABSTOP|SS_BITMAP|SS_NOTIFY , CRect(nx,30,100,100), this, IDC_PICTURE0+i)) ;
}
}
1 CWnd* pParentWnd是什么
2怎样获取CWnd* pParentWnd
3this与CWnd* pParentWnd什么关系
4用什么保存CWnd* pParentWnd,我想把this替换掉