Click here to Skip to main content
15,911,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Difference between MFC and windows form application Pin
frankis782-Dec-08 20:50
frankis782-Dec-08 20:50 
AnswerRe: Difference between MFC and windows form application PinPopular
led mike2-Dec-08 8:44
led mike2-Dec-08 8:44 
AnswerRe: Difference between MFC and windows form application Pin
Alan Balkany3-Dec-08 4:46
Alan Balkany3-Dec-08 4:46 
QuestionCompiler error C2440 when converting from VC++ 6.0 to VS .NET 2003 Pin
CarolLamoreaux2-Dec-08 8:02
CarolLamoreaux2-Dec-08 8:02 
AnswerRe: Compiler error C2440 when converting from VC++ 6.0 to VS .NET 2003 Pin
Stuart Dootson2-Dec-08 8:30
professionalStuart Dootson2-Dec-08 8:30 
GeneralRe: Compiler error C2440 when converting from VC++ 6.0 to VS .NET 2003 [modified] Pin
CarolLamoreaux2-Dec-08 8:48
CarolLamoreaux2-Dec-08 8:48 
GeneralRe: Compiler error C2440 when converting from VC++ 6.0 to VS .NET 2003 Pin
Stuart Dootson2-Dec-08 20:53
professionalStuart Dootson2-Dec-08 20:53 
Questiontext wrapping for a custom ctreectrl (mfc) Pin
kitkat120122-Dec-08 8:01
kitkat120122-Dec-08 8:01 
i have a custom treectrl derived from mfc's ctreectrl

i'm using custom draw to modify it's layout (colors, fonts, etc..). i'm only drawing the text part because i dont wanna go into drawing and coding the other tree stuff like the open/close buttons and stuff


the last thing i need to do is to add text wrapping. when the text is too long to display, i need it to wrap to the next line instead of being truncated (adding elipsis)

i've been searching for a while and i still couldn't find a way to solve this


i can do the text wrapping part easily using cdc and drawtext, my only problem is the item's "row height". it looks like it is set to accommodate only one line of text per item row. a 2nd line would paint, but it would get overwritten by the next item row.


any suggestions? thanks
AnswerRe: text wrapping for a custom ctreectrl (mfc) Pin
Code-o-mat2-Dec-08 8:09
Code-o-mat2-Dec-08 8:09 
GeneralRe: text wrapping for a custom ctreectrl (mfc) Pin
kitkat120122-Dec-08 8:30
kitkat120122-Dec-08 8:30 
GeneralRe: text wrapping for a custom ctreectrl (mfc) Pin
Code-o-mat2-Dec-08 8:55
Code-o-mat2-Dec-08 8:55 
GeneralRe: text wrapping for a custom ctreectrl (mfc) Pin
kitkat120122-Dec-08 10:51
kitkat120122-Dec-08 10:51 
QuestionRe: text wrapping for a custom ctreectrl (mfc) Pin
Singh, Yashpal10-Dec-13 20:17
Singh, Yashpal10-Dec-13 20:17 
QuestionPlease consider the following C Program Pin
BobInNJ2-Dec-08 7:42
BobInNJ2-Dec-08 7:42 
AnswerRe: Please consider the following C Program Pin
toxcct2-Dec-08 7:51
toxcct2-Dec-08 7:51 
AnswerRe: Please consider the following C Program Pin
Code-o-mat2-Dec-08 7:55
Code-o-mat2-Dec-08 7:55 
GeneralRe: Please consider the following C Program Pin
toxcct2-Dec-08 8:05
toxcct2-Dec-08 8:05 
GeneralRe: Please consider the following C Program Pin
Code-o-mat2-Dec-08 8:17
Code-o-mat2-Dec-08 8:17 
GeneralRe: Please consider the following C Program Pin
toxcct2-Dec-08 8:19
toxcct2-Dec-08 8:19 
GeneralRe: Please consider the following C Program Pin
CPallini2-Dec-08 9:22
mveCPallini2-Dec-08 9:22 
GeneralRe: Please consider the following C Program Pin
toxcct2-Dec-08 9:25
toxcct2-Dec-08 9:25 
GeneralRe: Please consider the following C Program Pin
CPallini2-Dec-08 9:29
mveCPallini2-Dec-08 9:29 
AnswerRe: Please consider the following C Program Pin
David Crow2-Dec-08 8:04
David Crow2-Dec-08 8:04 
AnswerRe: Please consider the following C Program Pin
CPallini2-Dec-08 9:08
mveCPallini2-Dec-08 9:08 
AnswerRe: Please consider the following C Program Pin
Timothy Baldwin2-Dec-08 12:23
Timothy Baldwin2-Dec-08 12:23 

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.