![]() ![]() |
||
Steps: 1. Create a new CMyToolBoxBar that use CFOPControlBar as base class. 2. Initial the canvas: void CProtoLogicView::InitLinkShape() { m_drawshape = FO_COMP_UPRIGHTLINK; m_bUpRightMode = FALSE; SetCurrentDrawingCursor(IDC_FO_DRAWLINK_CURSOR); } void CProtoLogicView::OnInitialUpdate() { SetCurrentModel(GetDocument()->m_pDataModel); CFODrawView::OnInitialUpdate(); GetCurrentModel()->ShowGrid(FALSE); }
|
Copyright ?1998-2007 UCanCode.Net Software, all rights reserved.
Other product and company names herein may be the trademarks of their respective owners.
Please direct your questions or comments to webmaster@ucancode.com