Explorer.Activate Event
Outlook Developer Reference |
Occurs when an explorer becomes the active window, either as a result of user action or through program code.
Syntax
expression.Activate
expression A variable that represents an Explorer object.
Remarks
This event is not available in Microsoft Visual Basic Scripting Edition (VBScript).
Example
This code example uses the WindowState property to maximize the topmost explorer window when the Activate event occurs. The sample code must be placed in a class module, and the Initialize_handler
routine must be called before the event procedure can be called by Microsoft Outlook.
Visual Basic for Applications |
---|
|
See Also