The application must set the focus to the container control using WinSetFocus so that all mouse and keyboard activity goes to the container window. The following code fragment shows how to use WinSetFocus:

  WinSetFocus(HWND_DESKTOP,       /* Desktop window handle             */
              hListWnd)           /* Handle of window to receive focus */


[Back] [Next]