XLL+ Class Library

CXlControl::SetID

Sets the ID of the control

[C++]
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