MDI的例子里的那个icon title是什么古怪?
ed9er 2001-08-01 07:37:26 petzold的书里的:
BOOL CALLBACK CloseEnumProc (HWND hwnd, LPARAM lParam)
{
if (GetWindow (hwnd, GW_OWNER)) // Check for icon title
return TRUE ;
SendMessage (GetParent (hwnd), WM_MDIRESTORE, (WPARAM) hwnd, 0) ;
if (!SendMessage (hwnd, WM_QUERYENDSESSION, 0, 0))
return TRUE ;
SendMessage (GetParent (hwnd), WM_MDIDESTROY, (WPARAM) hwnd, 0) ;
return TRUE ;
}
看MSDN里说了一半天,觉得对于所有MDI子窗口,注释的那句都应该返回APP的WND的句柄,也就是都不应该为NULL,他的icon title又是什么东西?不懂了。。。