user32.dll fix and test ShowOwnedPopups
Dmitry Timoshkov
dmitry at baikal.ru
Wed May 11 21:02:11 CDT 2005
"Vitaliy Margolen" <wine-patch at kievinfo.com> wrote:
> ShowOwnedPopups should handle none WS_POPUP style windows as well.
> And actually show/hide windows.
> Match names for WM_SHOWWINDOW status codes to MSDN
> @@ -2701,6 +2701,7 @@ BOOL WINAPI ShowOwnedPopups( HWND owner,
> * regardless of the state of the owner
> */
> SendMessageW(win_array[count], WM_SHOWWINDOW, SW_SHOW, SW_PARENTOPENING);
> + ShowWindow(win_array[count], SW_SHOW);
> continue;
> }
> }
> @@ -2715,6 +2716,7 @@ BOOL WINAPI ShowOwnedPopups( HWND owner,
> * regardless of the state of the owner
> */
> SendMessageW(win_array[count], WM_SHOWWINDOW, SW_HIDE, SW_PARENTCLOSING);
> + ShowWindow(win_array[count], SW_HIDE);
Then each owned window will receive 2 WM_SHOWWINDOW messages. Are you sure
that Windows does it that way? I'd advise to write a message test to verify it.
--
Dmitry.
More information about the wine-devel
mailing list