Then How would i be able to get rid of a character in the middle of a string programmatically?
Assuming the place of the cursor is acquired by GetCtrlAttribute (panelHandle, PANEL_CMD, ATTR_TEXT_SELECTION_START, &idx);
I was thinking of cutting a string into two strings. remove the last character of the first string, and then concatenate two strings.
I think there is function that splices a string at desired character length(in this case, it will be idx).
Anyone who can help>???
Thanks,
JL