edit control how to get deleted text
-
hi, in an edit control if multiple characters are selected and user presses delete button how we can deleted text that is "selected text" in WM_KEYDOWN or OnKeyDown handler?? same thing with OnChar also for backspace!! Thanks and regards Harshal
-
hi, in an edit control if multiple characters are selected and user presses delete button how we can deleted text that is "selected text" in WM_KEYDOWN or OnKeyDown handler?? same thing with OnChar also for backspace!! Thanks and regards Harshal
-
hi, in an edit control if multiple characters are selected and user presses delete button how we can deleted text that is "selected text" in WM_KEYDOWN or OnKeyDown handler?? same thing with OnChar also for backspace!! Thanks and regards Harshal
use CEdit::ReplaceSel("")[^]
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
hi rinu, thanks for replying. but what i want to do is something different suppose "abcd" is the selected text and the caret is positioned before 'a' and if someone presses delete whole text will delete so i want to retrieve that text before it gets deleted. means i want abcd to be stored in some buffer or CString variable thank's Harshal
-
hi rinu, thanks for replying. but what i want to do is something different suppose "abcd" is the selected text and the caret is positioned before 'a' and if someone presses delete whole text will delete so i want to retrieve that text before it gets deleted. means i want abcd to be stored in some buffer or CString variable thank's Harshal