如题:假设有个小工具Header,如果我将它创建在桌面窗口之下,和没有父窗口下创建有什么区别?
换种问法:没有父窗口,是不是就是在桌面窗口下???恳请大神指教,代码如下
- static void _DemoHeaderWin(void) {
- WM_HWIN hWin;
- _ChangeMainText("HEADER control inside a window");
- hWin = WM_CreateWindow(10, 80, 300, 140, WM_CF_SHOW, _cbWindow, 0);
- _hHeader = HEADER_CreateAttached(hWin, 1234, 0);
- _Demo();
- WM_DeleteWindow(hWin);
- }
- static void _DemoHeader(void) {
- _ChangeMainText("HEADER control without parent");
- _hHeader = HEADER_Create(10, 80, 300, 0, 0, 1234, WM_CF_SHOW, 0);
- _Demo();
- HEADER_Delete(_hHeader);
- }