Programming with Reflection

image\rwnprg32.gif GetLastActiveInstance method

 

Syntax WindowID = object.GetLastActiveInstance

 

Description

Returns the window ID of the Reflection window that most recently had focus.

Return

WindowID Return type: Long
The window ID of the most recently active Reflection window.

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:

lastInstance = myobject.GetLastActiveInstance( )

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command