CloseApp Method
      
 

Description

Called when application needs to be closed.


Return Type

None  


Syntax

object.CloseApp Owner



The CloseApp Method syntax has these parts:

Part Description
object An expression evaluating to an object of type IwodAppUpdateNotify.
Owner Required. A wodAppUpdate object. Reference to wodAppUpdateCom instance that called this notification method.

Remarks

NOTE: This method is called only if you implemented IwodAppUpdateNotify interface in your application, and wodAppUp.Notification property has received reference to instance of your implementation.

This notification method is called when you should close your application so that wodAppUpdate can perform file replacement. You should use this notification to store any settings, to close file handles etc..

wodAppUpdate will post WM_CLOSE message to your application anyway, which will most probably cause it to be closed, but it is advised that you close your application by yourself - usually you know better how to do it nicely.