![]() ![]() |
||
Steps: 1. Create a new toolbox window class CMyToolBoxBar. 2. Initial the ports of any shapes on the canvas: void CNewVisualProxy::GenerateDefaultPorts(CArray<FOP_PortScale,FOP_PortScale>* mpSpot) { mpSpot->RemoveAll(); FOP_PortScale m_Scale; m_Scale.xScale = 0.5; m_Scale.yScale = 0.5; mpSpot->SetSize(1); mpSpot->SetAt(0,m_Scale); }
|
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