Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
MFC
Expand Minimize

CWnd::accSelect

Called by the framework to modify the selection or move the keyboard focus of the specified object.

virtual HRESULT accSelect(
   long flagsSelect,
   VARIANT varChild
);

flagsSelect

Specifies how to change the current selection or focus. See flagsSelect in IAccessible::accSelect in the Windows SDK.

varChild

Specifies the object to be selected. This parameter can be either CHILDID_SELF (to select the object itself) or a child ID (to select one of the object's children).

Returns S_OK on success, a COM error code on failure. See Return Values in IAccessible::accSelect in the Windows SDK.

This function is part of MFC's Active Accessibility support.

Override this function in your CWnd-derived class if you have nonwindowed user interface elements (other than windowless ActiveX controls, which MFC handles).

For more information, see IAccessible::accSelect in the Windows SDK.

Header: afxwin.h

Community Additions

ADD
Show:
© 2015 Microsoft