hwndParent (HWND) - input

      Window handle whose child windows are to be tested.

      HWND_DESKTOP

        The desktop-window handle, implying that all main windows are tested. In this instance, pptlPoint must be relative to the bottom left corner of the screen.
      Other
        Parent-window handle.

      pptlPoint (PPOINTL) - input

        The point to be tested.

        Specified in window coordinates relative to the window specified by the hwndParent parameter.

      fEnumChildren (BOOL) - input

        Test control.

        TRUE

          Test all the descendant windows, including child windows of child windows
        FALSE
          Test only the immediate child windows.

        hwndFound (HWND) - returns

          Window handle beneath pptlPoint.

          NULLHANDLE

            pptlPoint is outside hwndParent
          Parent
            pptlPoint is not inside any of the children of hwndParent
          Other
            Window handle is beneath pptlPoint.


          [Back] [Next]