SetHmenuPropServer Method

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

 

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Namespace:   Accessibility
Assembly:  Accessibility (in Accessibility.dll)

public virtual void SetHmenuPropServer(
	[InAttribute] ref _RemotableHandle hmenu,
	uint idChild,
	[InAttribute] ref Guid paProps,
	int cProps,
	IAccPropServer pServer,
	AnnoScope AnnoScope
)

Parameters

hmenu
Type: Accessibility._RemotableHandle

Identifies the HMENU-accessible element to be annotated.

idChild
Type: System.UInt32

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

paProps
Type: System.Guid

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

cProps
Type: System.Int32

Specifies the number of properties in the paProps array.

pServer
Type: Accessibility.IAccPropServer

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

AnnoScope
Type: Accessibility.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.

For more information, see the Microsoft Active Accessibility documentation in the MSDN library at http://msdn.microsoft.com/library.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft