Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keeping focus on control
#4
A workaround solution I have given is to include in the thread that launches the second window the following statements :

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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)