TE Edit Control Win32 / Win64 Help
Product page

TerEditComment

Edit or delete an existing comment.

BOOL TerEditComment(hWnd, ShowDialog, id, pAuthorName, pAuthorInitials, pCommentText, repaint)
HWND hWnd;The handle of the window to be accessed
BOOL ShowDialog;Set to TRUE to show a dialog to accept the new author information and the comment text. Set to false to use the information from the remaining parameters passed to this method
int id;Comment id to modify
LPBYTE AuthorName;The new author name for the comment
LPBYTE AuthorInitials;The new author initials
LPBYTE CommentText;

New Comment text. Use the cr/lf sequence to include a paragraph break.

Set to "" to delete the comment.

BOOL repaint;refresh the screen after this operation

Return Value: This function returns TRUE when successful.