Programming with Reflection

image\rwnprg32.gif GetCurrentHotspotEx method

 

Syntax Name = object.GetCurrentHotspotEx

 

Description

Returns information about the current hotspot (the one most recently clicked by the user).

The following properties are set by GetCurrentHotspotEx:

CurrentHotspotRow The row location of the most recently selected hotspot. This property returns the value 32000 if no hotspot has been selected.

CurrentHotspotColumn The column location of the most recently selected hotspot. This property returns the value 32000 if no hotspot has been selected.

These properties can also be set by the GetHotspots method.

Return

Name Return type: String
The name of the most recently selected hotspot (or an empty string if no hotspot has been selected). The hotspot name is the text used to identify the hotspot string.

Note: Because this method returns a value but does not take any arguments, some OLE clients generate an error when you try to use this method. If this happens, try appending parentheses to the end of the command. For example:

currHotspot = myobject.GetCurrentHotspotEx( )

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command