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

C / C++ / MFC

 
GeneralRe: help on control update from worker thread Pin
ashwani_gupt11-Jan-11 21:33
ashwani_gupt11-Jan-11 21:33 
GeneralRe: help on control update from worker thread Pin
ashwani_gupt11-Jan-11 21:47
ashwani_gupt11-Jan-11 21:47 
GeneralRe: help on control update from worker thread Pin
Andrew Brock11-Jan-11 21:54
Andrew Brock11-Jan-11 21:54 
GeneralRe: help on control update from worker thread Pin
ashwani_gupt12-Jan-11 2:23
ashwani_gupt12-Jan-11 2:23 
QuestionMeasure CRichEditCtrl height Pin
Pavel Sokolov11-Jan-11 8:00
Pavel Sokolov11-Jan-11 8:00 
AnswerRe: Measure CRichEditCtrl height Pin
User 742933811-Jan-11 8:41
professionalUser 742933811-Jan-11 8:41 
GeneralRe: Measure CRichEditCtrl height Pin
Pavel Sokolov11-Jan-11 10:04
Pavel Sokolov11-Jan-11 10:04 
AnswerRe: Measure CRichEditCtrl height Pin
User 742933811-Jan-11 10:14
professionalUser 742933811-Jan-11 10:14 
Okay so instead of measuring it, it should be calculated.
What is known to base the calculation on? The number of lines that are going to be in the control?

If so, you should multiply the number of lines with the height of a line, depending on the font, and add an offset of a few pixels for the border.

modified 13-Sep-18 21:01pm.

GeneralRe: Measure CRichEditCtrl height Pin
Pavel Sokolov11-Jan-11 10:43
Pavel Sokolov11-Jan-11 10:43 
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 
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 

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.