2个回答
展开全部
HWND CreateChild( LPSTR pszClassName, LPSTR pszWndName,
HWND hParent ){
HWND hChild = CreateWindowEx( 0, pszClassName,
pszWndName,
WS_CHILD|WS_VISIBLE|WS_OVERLAPPEDWINDOW,
100, 100, 200, 200,
hParent, NULL,
g_hInstance, NULL );
return hChild;
}
HWND hParent ){
HWND hChild = CreateWindowEx( 0, pszClassName,
pszWndName,
WS_CHILD|WS_VISIBLE|WS_OVERLAPPEDWINDOW,
100, 100, 200, 200,
hParent, NULL,
g_hInstance, NULL );
return hChild;
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询