sfl::MvcVisualPart*

BOOL CODRulerWrapper_T&ltbase_t>::Create(CWnd* pWnd,sfl::MvcVisualPart*(void)

Creates the viewport and optional controller.

Defined in: OdRulerWrapper.h

Return Value

TRUE if creation of viewport successful; otherwise FALSE.

Comments

Creates the horizontal ruler, vertical ruler, and ruler intersection Calls the base class Create. If base class Create is successful, the viewport is added to the controller as an event listener so that this class can respond to mouse move events by tracking the mouse on the rulers.