https://bugs.winehq.org/show_bug.cgi?id=52974
Maotong Zhang zmtong1988@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zmtong1988@gmail.com
--- Comment #4 from Maotong Zhang zmtong1988@gmail.com --- (In reply to OldCastle from comment #3)
Hi Guys, any change to take a look at here?
Modify the following code, recompile and run validation again.
static BOOL is_window_managed( HWND hwnd, UINT swp_flags, const RECT *window_rect ) { DWORD style, ex_style;
if (!managed_mode) return FALSE;
//-----------Repair "Choose Target Module" window issue------// if(1) { WCHAR classnm[MAX_PATH]={0}; UNICODE_STRING class_name = { .Buffer = classnm, .MaximumLength = ARRAY_SIZE(classnm)*sizeof(WCHAR) }; NtUserGetClassName( hwnd, FALSE, &class_name ); if(strcmp(debugstr_w(class_name.Buffer), "L"TheMuToolsWindowClass"") == 0) { TRACE( "Cancel %s Window task management!!! \n", debugstr_w(class_name.Buffer)); return FALSE; } } //-----------Repair "Choose Target Module" window issue------//
/* child windows are not managed */ style = NtUserGetWindowLongW( hwnd, GWL_STYLE ); if ((style & (WS_CHILD|WS_POPUP)) == WS_CHILD) return FALSE;
...... }