We have an application to do chemical process engineering calculations. As an inclusion, we require a graphics builder to be integrated to bring dynamics into it. So we need to develop a graphics builder kind of application.
It should have provision to create and add a new graphics pages and to save the graphics page which is to be linked to the existing application which does the calculations.
It should have a tool box with symbols of various equipments and when we drag and drop a symbol into the graphics page, it should be placed appropriately and connected to various other equipments.
Can you please suggest me how to start and proceed as i dont know how to create drag and drop graphics builder.
If you create a parameterised constructor for a class you must also provide a default parameterless one.
public KeyStroke(int numlines, CRichEditCtrl* myrichptr)
// the one you will mainly use
// the compiler will not infer this because you have created the one above
// if you do not provide any constructors then the compiler will automatically
// create the parameterless one.
This is a problem. While you're declaring the CProgedit constructor on the left-hand side, the part on the right-hand side is actually a call, so you wouldn't put the data types of the aguments. In other words, try the following:
I wrote a number of rich edit classes after finishing I realized they would all have common functionality
1) processing KeyStrokes
2) cursor select
3) Finding data
I decided to encompass all of this in a class called KeyStroke which would expand functioality on a EditCtrl object
so I declared KeyStroke mykey1; etc; 2 3 ...
The constructor of KeyStroke takes a RicheditObject it was my understanding that when "new" build a class/object the First thing it does is allocate storage for the class/object and then
call member classes which is why I thought this was doable