[API] 控件窗口怎么在主窗口中显示出来
HWND hTVControl = CreateWindowEx(0, WC_TREEVIEW,
TEXT("Tree View Control"),
WS_VISIBLE | TVS_HASLINES | TVS_LINESATROOT | TVS_HASBUTTONS,
rcClient.top, //由 GetClientRect(hwnd, &rcClient); 获取
rcClient.left,
rcClient.right,
rcClient.bottom,
hwnd, //主窗口句柄
(HMENU) IDC_TREEVIEW,
g_hInstance,//实例句柄
NULL);
程序运行之后 TreeView控件 (hTVControl) 是一个单独的窗口,怎样让控件在主窗口中显示?
顺便问一下有没有朋友在做Windows CE下的应用 ?