HWND owner = GetWindow( hWnd, GW_OWNER );
if (!IsWindow(hWnd)) return 0;
+#ifdef __REACTOS__ // Do this now, remove after Server side is fixed.
+ PWND pWnd;
+
+ pWnd = ValidateHwnd(hWnd);
+ if (pWnd)
+ {
+ if (!pWnd->fnid)
+ {
+ NtUserSetWindowFNID(hWnd, FNID_ICONTITLE);
+ }
+ }
+#endif
switch( msg )
{
hIconTitleFont = CreateFontIndirectA( &logFont );
}
return (hIconTitleFont ? 0 : -1);
+#ifdef __REACTOS__
+ case WM_DESTROY:
+ NtUserSetWindowFNID(hWnd, FNID_DESTROY);
+ break;
+#endif
case WM_NCHITTEST:
return HTCAPTION;
case WM_NCMOUSEMOVE: