keep text selected in richedit
-
I use a toolbar and a richedit control in a dialog to do some text edting. A common scenario is: the user select some text, then go to the toolbar to click some button. But my problem is that as soon as the user click the toolbar, the selection in richedit control disappear, which make the user puzzled. How can I keep the selection visible even if the focus is not in the rich edit?
-
I use a toolbar and a richedit control in a dialog to do some text edting. A common scenario is: the user select some text, then go to the toolbar to click some button. But my problem is that as soon as the user click the toolbar, the selection in richedit control disappear, which make the user puzzled. How can I keep the selection visible even if the focus is not in the rich edit?
The rich edit inherits most of its styles from normal edit. Try using the ES_NOHIDESEL style, and see if it helps. Iain.
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.