Hello friendly people,
i am working on a small GUI, and my goal is that the user can create textfields and edit them in the GUI. After that i want to export the data and display the user input on an E-Paper Display via Arduino.
I got the code working but it is not possible for me to insert a new line in a textfield, which kind of limits the usability.
To create the window i am using the following code:
CreateWindowEx(WS_EX_LEFT, TEXT("Edit"), TEXT("default text"),
WS_BORDER | WS_CHILD | WS_VISIBLE, DataText[TextCount][0], DataText[TextCount][1],
DataText[TextCount][2]- DataText[TextCount][0], DataText[TextCount][3]-DataText[TextCount][1],
DrawArea, NULL, NULL, NULL);
DataText[][]
is an integer and is used to store the coordinates of the different textfields.
Do you know a way how I could change my code in order to be able to let the user insert a new line?
Reference pic of the GUI: