SRGraphComponent::GetLogRect

CRect SRGraphComponent::GetLogRect(void)

Returns the component rectangle in logical or device dependent coordinates

Defined in: SRGComp.cpp

Return Value

The m_LogRect member of the m_Rect data member. For resizeable components, the final rectangle (after resizing) is returned.

Developer Notes

This rectangle can be used for hit testing on components. Note that the logical rectangle is not generally known until after the component has been drawn. If the logical rectangle has not been determined, it should contain the value CRect(0,0,0,0).