Partilhar via


SYS(2325) - WCLIENTWINDOW from Visual FoxPro WHANDLE

Returns the hWnd of a client window from the parent window's WHANDLE.

SYS(2325, nWHANDLE)

Parameters

  • nWHANDLE
    Specifies an integer WHANDLE to a FoxPro window.

    A WHANDLE is an internal Visual FoxPro structure (represented by an integer) that is a wrapper around an inner client window's hWnd.

Return Value

Numeric.

SYS(2325) returns the hWnd (Window Handle) for a client window (WCLIENTWINDOW) of a specified Visual FoxPro parent window. nWHANDLE is returned if nWHANDLE is valid but there is no WCLIENTWINDOW. 0 is returned if nWHANDLE is invalid.

Remarks

This function is intended for use with routines in the Visual FoxPro API Library Construction Kit. See the API Library Construction topic for more information about creating API libraries.

In Visual FoxPro 9.0, BINDEVENT( ) supports binding to Window Message (Win Msg) events. BINDEVENT( ) catches events passed to a hWnd (Window Handle). Many Visual FoxPro windows have an inner client window of type WCLIENTWINDOW which has its own hWnd. SYS(2325) lets you determine the hWnd of an inner client window.

SYS(2327) and SYS(2326) can be used to convert between a hWnd (Window Handle) and a Visual FoxPro WHANDLE.

See Also

Reference

AEVENTS( ) Function
BINDEVENT( ) Function
SYS(2326) - WHANDLE from a Window's hWnd
SYS(2327) - Window's hWnd from Visual FoxPro WHANDLE
UNBINDEVENTS( ) Function