Fixed ShowWindowAsync.

This commit is contained in:
Alexandre Julliard 2002-10-29 21:33:00 +00:00
parent 0b1a367b78
commit c07a6cf537
1 changed files with 5 additions and 2 deletions

View File

@ -836,8 +836,11 @@ void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos,
*/
BOOL WINAPI ShowWindowAsync( HWND hwnd, INT cmd )
{
/* FIXME: does ShowWindow() return immediately ? */
return ShowWindow(hwnd, cmd);
HWND full_handle;
if ((full_handle = WIN_IsCurrentThread( hwnd )))
return USER_Driver.pShowWindow( full_handle, cmd );
return SendNotifyMessageW( hwnd, WM_WINE_SHOWWINDOW, cmd, 0 );
}