Click here to Skip to main content
15,907,497 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralEncapsulating enums Pin
Leslie Sanford22-Apr-08 17:06
Leslie Sanford22-Apr-08 17:06 
GeneralRe: Encapsulating enums Pin
Rajkumar R22-Apr-08 18:20
Rajkumar R22-Apr-08 18:20 
GeneralRe: Encapsulating enums Pin
CPallini22-Apr-08 21:12
mveCPallini22-Apr-08 21:12 
QuestionHow to get thread used memory size? Pin
hanlei000000000922-Apr-08 16:10
hanlei000000000922-Apr-08 16:10 
AnswerRe: How to get thread used memory size? Pin
Maximilien22-Apr-08 16:15
Maximilien22-Apr-08 16:15 
JokeRe: How to get thread used memory size? Pin
David Crow23-Apr-08 4:34
David Crow23-Apr-08 4:34 
AnswerRe: How to get thread used memory size? Pin
Luc Pattyn22-Apr-08 16:42
sitebuilderLuc Pattyn22-Apr-08 16:42 
QuestionNFS mount via C++? Pin
alchong22-Apr-08 10:41
alchong22-Apr-08 10:41 
AnswerRe: NFS mount via C++? Pin
Randor 22-Apr-08 16:42
professional Randor 22-Apr-08 16:42 
GeneralRe: NFS mount via C++? Pin
alchong24-Apr-08 8:35
alchong24-Apr-08 8:35 
AnswerRe: NFS mount via C++? Pin
David Crow23-Apr-08 4:35
David Crow23-Apr-08 4:35 
GeneralRe: NFS mount via C++? Pin
alchong24-Apr-08 8:20
alchong24-Apr-08 8:20 
GeneralRe: NFS mount via C++? Pin
David Crow24-Apr-08 8:26
David Crow24-Apr-08 8:26 
GeneralRe: NFS mount via C++? Pin
alchong24-Apr-08 8:39
alchong24-Apr-08 8:39 
GeneralRe: NFS mount via C++? Pin
David Crow24-Apr-08 8:42
David Crow24-Apr-08 8:42 
Question[Message Deleted] Pin
dirwir22-Apr-08 10:30
dirwir22-Apr-08 10:30 
QuestionRe: How to change "identity" of a program or dll Pin
David Crow22-Apr-08 10:45
David Crow22-Apr-08 10:45 
GeneralRe: How to change "identity" of a program or dll Pin
Michael Schubert22-Apr-08 11:18
Michael Schubert22-Apr-08 11:18 
GeneralRe: How to change "identity" of a program or dll Pin
Hamid_RT23-Apr-08 1:12
Hamid_RT23-Apr-08 1:12 
GeneralOOP Question Pin
mehmetned22-Apr-08 4:54
mehmetned22-Apr-08 4:54 
GeneralRe: OOP Question Pin
Iain Clarke, Warrior Programmer22-Apr-08 5:27
Iain Clarke, Warrior Programmer22-Apr-08 5:27 
GeneralRe: OOP Question Pin
Hamid_RT22-Apr-08 7:12
Hamid_RT22-Apr-08 7:12 
GeneralRe: OOP Question Pin
Maximilien22-Apr-08 7:37
Maximilien22-Apr-08 7:37 
GeneralRe: OOP Question Pin
led mike22-Apr-08 8:34
led mike22-Apr-08 8:34 
Generalkeep text selected in richedit Pin
code_discuss22-Apr-08 3:42
code_discuss22-Apr-08 3:42 
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?

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.