ILayoutNode::Get/SetCurrentRect property
Data Type
CRectDescription
Retrieves or sets the rectangular area the node is currently responsible for.Defined in: LayoutBase.h
Comments
Every layout node is assigned a rectangular area within the boundaries of its parent's area. The node is responsible for laying out all displayable elements that are participating in the layout operation and are located within that area.The GetCurrentWithinMinMax() operation retrieves the current rectangle constrained to the minimum and maximum sizes specified to the node using a ILayoutNode::Get/SetMinMaxSize() call.
Syntax
rcCurrent = pNode->GetCurrentRect();rcCurrent = pNode->GetCurrentRectWithinMinMax();
pNode->SetCurrentRect(rcCurrent);
Parameters
rcCurrent
Rectangular area of the screen assigned to this layout node.