AppAllowClose()

Specifies whether a user can exit GroupWise. This command is typically called by a DDE client or cross-application macro. GroupWise cannot be closed if a macro is playing or if AppAllowClose is set to No! (See Allow parameter).

Token ID

AFTKN_ALLOW_EXIT or 775

Syntax

VOID AppAllowClose([ENUM Allow])

Parameters

Allow As ENUM

(Optional) If Allow is set to No!, you must set it to Yes! before ending the DDE conversation or cross-application macro. Otherwise, you will be able to exit GroupWise only through the Windows Task List.

  • 0 No
  • 1 Yes

Remarks

AppClose() causes GroupWise to exit, unless AppAllowClose(No!) has previously been called. If you call AppAllowClose(Yes!), followed by AppClose(), the client should exit.