Click here to Skip to main content
15,915,770 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: i need some opinion on displaying fonts in dialog box. Pin
Rajesh R Subramanian10-Jan-07 19:19
professionalRajesh R Subramanian10-Jan-07 19:19 
GeneralRe: i need some opinion on displaying fonts in dialog box. Pin
James R. Twine11-Jan-07 13:43
James R. Twine11-Jan-07 13:43 
QuestionRe: i need some opinion on displaying fonts in dialog box. Pin
Rajesh R Subramanian11-Jan-07 20:04
professionalRajesh R Subramanian11-Jan-07 20:04 
AnswerRe: i need some opinion on displaying fonts in dialog box. Pin
James R. Twine12-Jan-07 12:31
James R. Twine12-Jan-07 12:31 
GeneralRe: i need some opinion on displaying fonts in dialog box. Pin
Hamid_RT11-Jan-07 18:22
Hamid_RT11-Jan-07 18:22 
GeneralRe: i need some opinion on displaying fonts in dialog box. Pin
Rajesh R Subramanian11-Jan-07 20:04
professionalRajesh R Subramanian11-Jan-07 20:04 
GeneralRe: i need some opinion on displaying fonts in dialog box. Pin
Hamid_RT11-Jan-07 20:39
Hamid_RT11-Jan-07 20:39 
GeneralRe: i need some opinion on displaying fonts in dialog box. Pin
Rajesh R Subramanian11-Jan-07 20:42
professionalRajesh R Subramanian11-Jan-07 20:42 
It was completely in context with the question that was asked. It is silly to subclass an edit control and handle events and paint, just to display some colored text with background. And of course you will need to subclass to do such stuff. As you subclass it, it is no more the normal edit control. In that article I could see that certain events are not handled properly. For an instance, you cannot paste in the second edit control of that dialogbox. These are all the pitfalls of subclassing, about which we need to be extra careful.


Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா

GeneralRe: i need some opinion on displaying fonts in dialog box. Pin
cyn813-Jan-07 22:39
cyn813-Jan-07 22:39 
AnswerRe: i need some opinion on displaying fonts in dialog box. Pin
Kotesh.N10-Jan-07 22:27
Kotesh.N10-Jan-07 22:27 
AnswerRe: i need some opinion on displaying fonts in dialog box. Pin
Kotesh.N10-Jan-07 22:36
Kotesh.N10-Jan-07 22:36 
QuestionTemplate magic Pin
hint_5410-Jan-07 12:41
hint_5410-Jan-07 12:41 
AnswerRe: Template magic Pin
toxcct10-Jan-07 12:44
toxcct10-Jan-07 12:44 
GeneralRe: Template magic Pin
hint_5410-Jan-07 12:50
hint_5410-Jan-07 12:50 
GeneralRe: Template magic Pin
toxcct10-Jan-07 12:51
toxcct10-Jan-07 12:51 
GeneralRe: Template magic Pin
hint_5410-Jan-07 12:58
hint_5410-Jan-07 12:58 
GeneralRe: Template magic Pin
Stephen Hewitt10-Jan-07 17:49
Stephen Hewitt10-Jan-07 17:49 
JokeNo more alcohol to the linker! Pin
CPallini10-Jan-07 12:47
mveCPallini10-Jan-07 12:47 
JokeHmm.. Pin
Rajesh R Subramanian10-Jan-07 18:32
professionalRajesh R Subramanian10-Jan-07 18:32 
JokeRe: Hmm.. Pin
toxcct10-Jan-07 20:07
toxcct10-Jan-07 20:07 
JokeMine? Pin
CPallini10-Jan-07 21:57
mveCPallini10-Jan-07 21:57 
QuestionUsing accelerators with child windows Pin
KellyR10-Jan-07 10:31
KellyR10-Jan-07 10:31 
Questionclasses and the namespace operator :: Pin
kitty510-Jan-07 10:19
kitty510-Jan-07 10:19 
AnswerRe: classes and the namespace operator :: Pin
Cedric Moonen10-Jan-07 10:23
Cedric Moonen10-Jan-07 10:23 
GeneralRe: classes and the namespace operator :: Pin
kitty510-Jan-07 10:26
kitty510-Jan-07 10:26 

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.