When HoTMetaL PRO is activated or deactivated

HoTMetaL PRO is activated when its window becomes the active window as a user switches between applications. It is deactivated when another application becomes active.

The special macros On_Application_Activate and On_Application_Deactivate are called when these events occur. These macros should be defined in the global HoTMetaL PRO macros file (Macros\hotmetal.mcr).

One application for On_Application_Activate is to check whether a document that is open in HoTMetaL PRO has been modified by another application since the last time HoTMetaL PRO was active.

The following operations should be avoided in On_Application_Activate:

On_Application_Activate and On_Application_Deactivate are not called when HoTMetaL PRO starts or closes; see On_Application_Open and On_Application_Close.


Right arrow
Next Topic
Left arrow
Previous Topic
Table of contents
Table of Contents

Copyright © SoftQuad Software Inc. 1999