当控件层次嵌套到四五十层时候调用
HWND CreateWindowEx(
__in DWORD dwExStyle,
__in LPCTSTR lpClassName,
__in LPCTSTR lpWindowName,
__in DWORD dwStyle,
__in int x,
__in int y,
__in int nWidth,
__in int nHeight,
__in HWND hWndParent,
__in HMENU hMenu,
__in HINSTANCE hInstance,
__in LPVOID lpParam
);
会句柄分配失败。为什么?
HWND CreateWindowEx(
__in DWORD dwExStyle,
__in LPCTSTR lpClassName,
__in LPCTSTR lpWindowName,
__in DWORD dwStyle,
__in int x,
__in int y,
__in int nWidth,
__in int nHeight,
__in HWND hWndParent,
__in HMENU hMenu,
__in HINSTANCE hInstance,
__in LPVOID lpParam
);
会句柄分配失败。为什么?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货