Click here to Skip to main content
15,887,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Measure CRichEditCtrl height Pin
User 742933811-Jan-11 10:45
professionalUser 742933811-Jan-11 10:45 
AnswerRe: Measure CRichEditCtrl height Pin
Pavel Sokolov11-Jan-11 11:02
Pavel Sokolov11-Jan-11 11:02 
AnswerRe: Measure CRichEditCtrl height Pin
Pavel Sokolov11-Jan-11 11:39
Pavel Sokolov11-Jan-11 11:39 
QuestionRe: Measure CRichEditCtrl height Pin
David Crow11-Jan-11 9:08
David Crow11-Jan-11 9:08 
AnswerRe: Measure CRichEditCtrl height Pin
Pavel Sokolov11-Jan-11 10:07
Pavel Sokolov11-Jan-11 10:07 
GeneralRe: Measure CRichEditCtrl height Pin
Nikolay Denisov18-Feb-11 22:27
Nikolay Denisov18-Feb-11 22:27 
GeneralRe: Measure CRichEditCtrl height Pin
Pavel Sokolov18-Feb-11 22:41
Pavel Sokolov18-Feb-11 22:41 
GeneralRe: Measure CRichEditCtrl height Pin
Nikolay Denisov18-Feb-11 23:02
Nikolay Denisov18-Feb-11 23:02 
Ну, смотря какой функционал тебе от этого списка нужен. Если просто "мертвый" список, то я бы ограничился первым вариантом. Т.е. создал бы невидимый ричедит, через него бы вычислял высоту каждого айтема в списке, через него же рендерил в битмап в памяти сам текст айтема. Потом при отрисовке айтема просто выводил бы уже готовый битмап.

Если же требуется какая-то интерактивность от списка, например, если ты хочешь, чтобы можно было бы кликнуть на линки, которые могуть быть в тексте, менять курсор, когда мышка поверх таких линков и т.п., то тут уже без безоконного ричедита обойтись будет трудно.

ЗЫ: я есть тут: http://vkontakte.ru/id1216693[^] или тут http://ru-ru.facebook.com/profile.php?id=1610591135[^]
Regards,
Nikolay

QuestionError concatinating file path and file name.... Pin
AmbiguousName11-Jan-11 4:27
AmbiguousName11-Jan-11 4:27 
AnswerRe: Error concatinating file path and file name.... Pin
Cedric Moonen11-Jan-11 4:42
Cedric Moonen11-Jan-11 4:42 
AnswerRe: Error concatinating file path and file name.... Pin
Luc Pattyn11-Jan-11 4:43
sitebuilderLuc Pattyn11-Jan-11 4:43 
AnswerRe: Error concatinating file path and file name.... Pin
Richard MacCutchan11-Jan-11 6:02
mveRichard MacCutchan11-Jan-11 6:02 
AnswerRe: Error concatinating file path and file name.... Pin
User 742933811-Jan-11 6:41
professionalUser 742933811-Jan-11 6:41 
GeneralRe: Error concatinating file path and file name.... Pin
XTAL25611-Jan-11 13:38
XTAL25611-Jan-11 13:38 
AnswerRe: Error concatinating file path and file name.... Pin
«_Superman_»11-Jan-11 6:44
professional«_Superman_»11-Jan-11 6:44 
QuestionLoad Dialog From a Resource DLL Pin
goldenrose911-Jan-11 3:31
goldenrose911-Jan-11 3:31 
QuestionRe: Load Dialog From a Resource DLL Pin
Cool_Dev11-Jan-11 3:49
Cool_Dev11-Jan-11 3:49 
AnswerRe: Load Dialog From a Resource DLL Pin
goldenrose911-Jan-11 4:46
goldenrose911-Jan-11 4:46 
GeneralRe: Load Dialog From a Resource DLL Pin
Cool_Dev11-Jan-11 16:23
Cool_Dev11-Jan-11 16:23 
GeneralRe: Load Dialog From a Resource DLL Pin
goldenrose911-Jan-11 16:43
goldenrose911-Jan-11 16:43 
AnswerRe: Load Dialog From a Resource DLL Pin
User 742933811-Jan-11 3:54
professionalUser 742933811-Jan-11 3:54 
GeneralRe: Load Dialog From a Resource DLL Pin
goldenrose911-Jan-11 4:53
goldenrose911-Jan-11 4:53 
GeneralRe: Load Dialog From a Resource DLL Pin
Andrew Brock11-Jan-11 4:46
Andrew Brock11-Jan-11 4:46 
GeneralRe: Load Dialog From a Resource DLL Pin
goldenrose911-Jan-11 4:49
goldenrose911-Jan-11 4:49 
AnswerRe: Load Dialog From a Resource DLL Pin
Andrew Brock11-Jan-11 5:09
Andrew Brock11-Jan-11 5:09 

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.