ItemDeclineOpenItem()

Declines a selected or opened appointment, task, or note and attaches a comment.

Token ID

BFTKN_REJECT or 195

Syntax

VOID ItemDeclineOpenItem([ANSISTRING Comment];
                         [BOOLEAN KeepThisItem];
                         [DWORD AcceptLevel])

Parameters

Comment As ANSISTRING

(Optional) Comment is displayed in an item’s information view.

KeepThisItem As BOOLEAN

(Optional)

AcceptLevel As DWORD

(Optional) Use these values as you would an enumeration (even though this variable is a LONG):

  • 160 FREE
  • 190 TENTATIVE
  • 210 BUSY
  • 251 OUT