Version

GetContextMenuItemsAt Method

Gets the spellchecker related context menu items to be displayed at the specified location in the specified target.
Syntax
'Declaration
 
Function GetContextMenuItemsAt( _
   ByVal spellCheckTarget As Object, _
   ByVal location As Point _
) As MenuItemDefinition()
MenuItemDefinition[] GetContextMenuItemsAt( 
   object spellCheckTarget,
   Point location
)

Parameters

spellCheckTarget
The spell checker target object.
location
Location of the context menu click.

Return Value

A collection of definitions of items which should be placed in the context menu for the target at the specified location.
Remarks
If there is a misspelled word at the location, this will return menu items that represent suggestions for correcting the misspelled words. It may also contain items for other spellchecker related actions. This method will return null if there are no spellchecker related actions (for example there are no misspelled words) at the specified location.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also