Click here to Skip to main content
15,923,376 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ dll to C# decompiler Pin
xkrja1-Dec-08 23:37
xkrja1-Dec-08 23:37 
Questionhow to set the size of a window - please Pin
simon alec smith1-Dec-08 8:40
simon alec smith1-Dec-08 8:40 
AnswerRe: how to set the size of a window - please Pin
Code-o-mat1-Dec-08 8:50
Code-o-mat1-Dec-08 8:50 
GeneralRe: how to set the size of a window - please Pin
CPallini1-Dec-08 9:30
mveCPallini1-Dec-08 9:30 
AnswerRe: how to set the size of a window - please Pin
Hamid_RT1-Dec-08 23:29
Hamid_RT1-Dec-08 23:29 
QuestionMeasureString and MeasureCharacterRanges (Page Faults) Pin
bob169721-Dec-08 5:55
bob169721-Dec-08 5:55 
AnswerRe: MeasureString and MeasureCharacterRanges (Page Faults) Pin
Randor 1-Dec-08 6:19
professional Randor 1-Dec-08 6:19 
GeneralRe: MeasureString and MeasureCharacterRanges (Page Faults) Pin
bob169721-Dec-08 7:13
bob169721-Dec-08 7:13 
Unfortunately I can't. Too much code in three different classes.

It's a windowless GDI+ edit control that draws on the parent windows client area. It is mainly when I set the GDI+ edit control to multiline and it takes up the metric equivalent of an 8 1/2 x 11 inch piece of paper using the equivalent of a 10 point font size and filling it completely up. The calculations for text selection and custom soft breaking utilize MeasureString and MeasureCharacterRanges in various places. Regions are used to derive the text selection rects.

Most of my usage of the two functions resembles the samples in MSDN.
AnswerRe: MeasureString and MeasureCharacterRanges (Page Faults) Pin
Nemanja Trifunovic1-Dec-08 9:50
Nemanja Trifunovic1-Dec-08 9:50 
GeneralRe: MeasureString and MeasureCharacterRanges (Page Faults) Pin
bob169721-Dec-08 10:30
bob169721-Dec-08 10:30 
QuestionRecive TCP packets without TX [modified] Pin
mehdir211-Dec-08 5:00
mehdir211-Dec-08 5:00 
AnswerRe: Recive TCP packets without TX Pin
Randor 1-Dec-08 6:30
professional Randor 1-Dec-08 6:30 
QuestionInstead of using nested if-else Pin
krishnakumartm1-Dec-08 4:30
krishnakumartm1-Dec-08 4:30 
AnswerRe: Instead of using nested if-else Pin
Hamid_RT1-Dec-08 4:34
Hamid_RT1-Dec-08 4:34 
GeneralRe: Instead of using nested if-else Pin
Code-o-mat1-Dec-08 5:30
Code-o-mat1-Dec-08 5:30 
GeneralRe: Instead of using nested if-else Pin
ssclaire1-Dec-08 7:55
ssclaire1-Dec-08 7:55 
GeneralRe: Instead of using nested if-else Pin
CPallini1-Dec-08 8:09
mveCPallini1-Dec-08 8:09 
GeneralRe: Instead of using nested if-else Pin
Nemanja Trifunovic1-Dec-08 9:18
Nemanja Trifunovic1-Dec-08 9:18 
GeneralRe: Instead of using nested if-else Pin
Timothy Baldwin2-Dec-08 12:47
Timothy Baldwin2-Dec-08 12:47 
AnswerRe: Instead of using nested if-else Pin
CPallini1-Dec-08 5:47
mveCPallini1-Dec-08 5:47 
AnswerRe: Instead of using nested if-else Pin
David Crow1-Dec-08 10:17
David Crow1-Dec-08 10:17 
AnswerRe: Instead of using nested if-else Pin
bob169721-Dec-08 16:29
bob169721-Dec-08 16:29 
AnswerRe: Instead of using nested if-else Pin
sheshidar1-Dec-08 18:15
sheshidar1-Dec-08 18:15 
QuestionUsing "extern" Pin
krishnakumartm1-Dec-08 4:05
krishnakumartm1-Dec-08 4:05 
AnswerRe: Using "extern" Pin
Code-o-mat1-Dec-08 4:08
Code-o-mat1-Dec-08 4:08 

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.