CAccPropServicesClass.SetHmenuPropServer(_RemotableHandle, UInt32, Guid, Int32, IAccPropServer, AnnoScope) CAccPropServicesClass.SetHmenuPropServer(_RemotableHandle, UInt32, Guid, Int32, IAccPropServer, AnnoScope) CAccPropServicesClass.SetHmenuPropServer(_RemotableHandle, UInt32, Guid, Int32, IAccPropServer, AnnoScope) Method

Definition

The CAccPropServicesClass and all of its exposed members are part of a managed wrapper for the Component Object Model (COM) IAccPropServices interface.

public:
 virtual void SetHmenuPropServer(Accessibility::_RemotableHandle % hmenu, System::UInt32 idChild, Guid % paProps, int cProps, Accessibility::IAccPropServer ^ pServer, Accessibility::AnnoScope AnnoScope) = Accessibility::IAccPropServices::SetHmenuPropServer;
public virtual void SetHmenuPropServer (ref Accessibility._RemotableHandle hmenu, uint idChild, ref Guid paProps, int cProps, Accessibility.IAccPropServer pServer, Accessibility.AnnoScope AnnoScope);
abstract member SetHmenuPropServer :  * uint32 *  * int * Accessibility.IAccPropServer * Accessibility.AnnoScope -> unit
override this.SetHmenuPropServer :  * uint32 *  * int * Accessibility.IAccPropServer * Accessibility.AnnoScope -> unit

Parameters

hmenu
_RemotableHandle _RemotableHandle _RemotableHandle

Identifies the HMENU-accessible element to be annotated.

idChild
UInt32 UInt32 UInt32

Identifies the accessible element that is to be annotated. This replaces the identity string.

paProps
Guid Guid Guid

Specifies an array of properties that is to be handled by the specified callback object.

cProps
Int32 Int32 Int32

Specifies the number of properties in the paProps array.

pServer
IAccPropServer IAccPropServer IAccPropServer

Specifies the callback object, which will be invoked when a client requests one of the overridden properties.

AnnoScope
AnnoScope AnnoScope AnnoScope

May be ANNO_THIS, indicating that the annotation affects the indicated accessible element only; or ANNO_CONTAINER, indicating that it applies to the element and its immediate element children.

Implements

Remarks

For more information, see the Microsoft Active Accessibility documentation.

Applies to