ILayoutNode::RecalcLayout method
CRect RecalcLayout(CRectrcDesired, boolbChildNegotiate, boolbStrictRecalc)Performs the layout recalculation operation
Defined in: LayoutBase.h
Return Value
New rectangle as solicited by the node. If this is an strict recalculation, the return value must be equal to the rcDesired parameter.
Parameters
rcDesired
Rectangle being assigned
bChildNegotiate
Enables negotiation capabilities for the child. Some laout algorithms may use a two-steps recalculation process with a first step of negotiation. Here, the child nodes have the opportunity to suggest to their parent node the rectangle they want associated to them.
bStrictRecalc
If true, the child must comply with the rectangle passed by the parent node. The child node's suggestions will be ignored.