Back to product page

CloseApp method


Called when application needs to be closed.

Syntax

  • Basic
object.CloseApp Owner
The CloseApp(object,Owner) syntax has these parts:
objectAn expression evaluating to an object of type IwodAppUpdateNotify.
OwnerRequired. 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.

Platforms

Windows