EnvCheckCurrentWindow()

Returns True if the current window type matches a specified window type; False, if not.

Token ID

AFTKN_CURRENT_WINDOW or 662

Syntax

BOOLEAN EnvCheckCurrentWindow(ENUM WindowType)

Parameters

WindowType As ENUM

Specifies the window type as follows:

109

AppointmentMessage

118

AttachmentView

624

Browser

1

Calendar

6

Inbox

168

Info

304

ItemView

175

MailMessage

177

MainWindow

181

ModelessDialog

189

NoteMessage

7

Outbox

288

PhoneMessage

229

TaskMessage

8

Trash

Return Values

BOOLEAN

True or False