Commit 93748f72 authored by Esme Povirk's avatar Esme Povirk Committed by Alexandre Julliard

win32u: Implement EVENT_OBJECT_SHOW/HIDE for window objects.

parent 45ac4ce9
......@@ -3448,9 +3448,17 @@ BOOL set_window_pos( WINDOWPOS *winpos, int parent_x, int parent_y )
goto done;
if (winpos->flags & SWP_HIDEWINDOW)
{
NtUserNotifyWinEvent( EVENT_OBJECT_HIDE, winpos->hwnd, 0, 0 );
NtUserHideCaret( winpos->hwnd );
}
else if (winpos->flags & SWP_SHOWWINDOW)
{
NtUserNotifyWinEvent( EVENT_OBJECT_SHOW, winpos->hwnd, 0, 0 );
NtUserShowCaret( winpos->hwnd );
}
if (!(winpos->flags & (SWP_NOACTIVATE|SWP_HIDEWINDOW)))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment