问题描述
根据一些sources,标签子对话框应该是实际主对话框窗口的子窗口,而不是标签控件本身。我认为一些 docs 建议相反,即这个函数示例:
// Creates a child window (a static control) to occupy the tab control's
// display area.
// Returns the handle to the static control.
// hwndTab - handle of the tab control.
//
HWND DoCreatedisplayWindow(HWND hwndTab)
{
HWND hwndStatic = CreateWindow(WC_STATIC,L"",WS_CHILD | WS_VISIBLE | WS_BORDER,100,// Position and dimensions; example only.
hwndTab,NULL,g_hInst,// g_hInst is the global instance handle
NULL);
return hwndStatic;
}
那么对此有明确的看法吗?顺便说一下,我检查了 Petzold,但没有找到有关该主题的任何信息。感谢您的帮助。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)