XLL+ Class Library (6.3)

CXlControl::SetID

Sets the ID of the control

void SetID(
   UINT id
);

Parameters

id

Numeric identifier of the control, which can be used to refer to it in event handlers. The ID does not need to be unique.

Remarks

Sets the identifier of the control. The ID does not need to be unique, but if it is not unique then CXlDialog::ControlFromID() cannot be used to retrieve the address of the control.

Requirements

Header: xldialog.h

See Also

CXlControl Class | CXlControl Methods