"Vitaliy Margolen" wine-patch@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.