Home | Products | Download | Purchase | Support 


XD++Library
Features  
What's new

Components
Commands
Properties
Dialog
View
Arrows
Windows
Why need XD++
Screen Shots
Download Area
Purchase
License agreement
General Q & A
 
UCCDraw ActiveX
Features Tour
Download Area
Purchase
DocVizor
Features Tour
Why need DocVizor
Screen Shots
Download Area
Purchase
TFC Library
Features Tour
Screen Shots
Download Area
Purchase
Free Products
A Cool Year selector
Project backup tool
Rename project tool
Replace all in files tool
A cool color picker
Technical Support
General Q & A
Report A Bug
Suggestions
Discussion Board
Contact Us

Links

Get Ready to Unleash the Power of UCanCode .NET

   

[ First | Prev | Next | Last ]


About arrows

XD++ provides enough arrows resource and control classes for performing common user interface activities. They are applicable to most applications developed with XD++. To add any of these arrows to your applications, you only need to add arrows from the property dialog. The XD++ has  already  realized all for you. What's more , you can also add your self-built arrow sources from XD++ library easily.

All arrows below are built to provide our customers to get great  efficiency . You can use according to your need . To see the class used to build the arrow, you can refer to the class library guide within our products. Also you can click the links (windows)  to the left to see which arrows we have draw for you .  

If you do not want to use one of the endpoints provided with XD++ Library, you can create your own. Simply derive a new object from CFOBaseEndObject and override OnDraw() and BuildLineEnd(). Refer to the existing endpoints, CFOCrossArrowObject and CFOEmptyArrowObject.

Create your own arrow class

To create a customized endpoint, you need to calculate how your geometry appears in relation to the line for both the OnDraw() and BuildLineEnd() methods. In CFOCrossArrowObject , this is calculated in the BuildLineEnd() method. t uses the arrow size values to determine how to display the polygon. The values for the vertices of the polygon are used in both the region calculations and in the drawing of the endpoint.

Also you can use XD++ Library add-in  to Create your arrow class, below is how:

1.Run the XD++ Library add-in.

Now let's create a  document class and a view class.

2.In the base class box, select CFOBaseEndObject

3.Create a new arrow class, eg:CMyArrowClass

4.Override methods OnDraw() and BuildLineEnd()

Visual C++ MFC Example


top

[ First | Prev | Next | Last ]



[ Home | Products | Download Area | Purchase | SupportContact us ]


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