FilterApply()

Applies a filter to a specified list or control.

Token ID

AFTKN_FILTER_APPLY or 721

Syntax

VOID FilterApply(ENUM FilterHandleType; 
                  ENUM ApplyTo; 
                  [ANSISTRING ControlName])

Parameters

FilterHandleType As ENUM

Unique filter identifier, returned by FilterCreate():

  • 315 Default
ApplyTo As ENUM

Specifies the item to apply the filter to as follows:

108

AppointmentList

44

ItemList

Includes all items.

188

NoteList

219

SelectedControl

228

TaskList

266

View

268

WeekControl

Includes Week calendar view items.

ControlName As ANSISTRING

(Optional) Name of user-defined control.

See Also

FilterCreate()