Share via


Application.WindowSelectionChange Event

Project Developer Reference

Occurs when the selection handle is changed within a window in Project.

Syntax

expression.WindowSelectionChange(Window, sel, selType)

expression   A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
Window Required Window The window where the selection occurs.
sel Required Selection The selection.
selType Required Long The type of data included in the selection. Can be one of the following PjItemType constants: pjOtherItem, pjResourceItem, or pjTaskItem.

Return Value
nothing

Remarks

The WindowSelectionChange event will not fire when changing the selection on the right pane of a Task Usage or Resource Usage view or when changing the selection within a node in the Network Diagram view.

See Also