10-31-2017, 02:58 AM
A workaround solution I have given is to include in the thread that launches the second window the following statements :
It works. However, I am wondering whether there exists a simpler solution.
Quote: case WM_PAINT
int hwndOwner=GetParent(hDlg)
if WinTest(hwndOwner "#32770"); act hwndOwner
It works. However, I am wondering whether there exists a simpler solution.