ILayoutNode::Get/Set/ModifyNodeExStyle property
Data Type
DWORDDescription
Retrieves or sets the extended style of the node.Defined in: LayoutBase.h
Comments
A node's extended styles allow the programmer to configure certain aspects of how the layout node will behave.The ModifyNodeStyleEx() function allows removing and adding some styles in a single atomic operation, without having to combine manually the values of the new styles with the existing mask.
Syntax
dwStyle = pNode->GetNodeExStyle();pNode->SetNodeExStyle(dwStyle, [bApplyToChildren]);
pNode->ModifyNodeStyleEx(dwStylesToRemove, dwStylesToAdd[, bApplyToChildren]);
Parameters
dwExStyle
Mask that specifies the styles assigned to the node. Should be a combination of values from the ExtendedStyles enumeration using the logical OR operator.
bApplyToChildren
Specifies whether the Set or Modify operation should be recursively applied to all descendents of this node. Default is false.
dwStylesToRemove
Specifies a set of styles to be removed from the node's style mask. Should be a combination of values from the ExtendedStyles enumeration using the logical OR operator.
dwStylesToAdd
Specifies a set of styles to be removed from the node's style mask. Should be a combination of values from the ExtendedStyles enumeration using the logical OR operator.