YOU CAN CODE!

 

With The Case Of UCanCode.net  Release The Power OF  Visual C++ !   Home Products | Purchase Support | Downloads  
Download Evaluation
Pricing & Purchase?
E-XD++Visual C++/ MFC Products
Overview
Features Tour 
Electronic Form Solution
Visualization & HMI Solution
Power system HMI Solution
CAD Drawing and Printing Solution

Bar code labeling Solution
Workflow Solution

Coal industry HMI Solution
Instrumentation Gauge Solution

Report Printing Solution
Graphical modeling Solution
GIS mapping solution

Visio graphics solution
Industrial control SCADA &HMI Solution
BPM business process Solution

Industrial monitoring Solution
Flowchart and diagramming Solution
Organization Diagram Solution

Graphic editor Source Code
UML drawing editor Source Code
Map Diagramming Solution

Architectural Graphic Drawing Solution
Request Evaluation
Purchase
VX++ Cross-Platform C/C++
Overview
Download
Purchase
ActiveX COM Products
Overview
Download
Purchase
Technical Support
  General Q & A
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 ]

Ask any questions by MSN: ucancode@hotmail.com Yahoo: ucan_code@yahoo.com


 

Copyright ?1998-2023 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.net