Implemented WM_NOTIFYFORMAT.
This commit is contained in:
parent
9c6735e6a2
commit
5591bc6323
|
@ -227,6 +227,9 @@ static LRESULT DEFDLG_Proc( HWND hwnd, UINT msg, WPARAM wParam,
|
|||
PostMessageA( hwnd, WM_COMMAND, IDCANCEL,
|
||||
(LPARAM)GetDlgItem( hwnd, IDCANCEL ) );
|
||||
return 0;
|
||||
|
||||
case WM_NOTIFYFORMAT:
|
||||
return DefWindowProcA( hwnd, msg, wParam, lParam );
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -390,6 +390,10 @@ static LRESULT DEFWND_DefWinProc( WND *wndPtr, UINT msg, WPARAM wParam,
|
|||
case WM_ISACTIVEICON:
|
||||
return ((wndPtr->flags & WIN_NCACTIVATED) != 0);
|
||||
|
||||
case WM_NOTIFYFORMAT:
|
||||
if (IsWindowUnicode(wndPtr->hwndSelf)) return NFR_UNICODE;
|
||||
else return NFR_ANSI;
|
||||
|
||||
case WM_QUERYOPEN:
|
||||
case WM_QUERYENDSESSION:
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue