Building the Right Environment to Support AI, Machine Learning and Deep Learning
The following project implements a derived box from CEdit featuring a prompt command.
The code guarantees to work well depending on the options that developer chooses when drawing the dialog box: they should be preserved as those included in the following project (MULTILINE, AUTOVSCROLL ...).
I do not put any code here, because it would be unuseful and much boring. In fact the code of CPromptBox is very simple and it should be understood easily at running time, since the matter is just to rule the caret movement at each row, or just taking the string of every row.
Anyway, some attention should be payed to how to connect the prompt of a working class (for example: a parser). I have implemented a simple method in this project, where CPromptEdit communicates with a report box on the right.
Look at the image below:
Anyway a lot of other methods can be come out, according to your needs or fantasy, so ...
... comments and suggestions are very well appreciated both in this site and directly to me at : my e-mail
DownloadsVC++ 5.0 project - 22 Kb
The class code - 4 Kb