Click here to Skip to main content
15,890,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: API & Resizing the SysTray window Pin
Axonn Echysttas1-Mar-05 10:21
Axonn Echysttas1-Mar-05 10:21 
GeneralRe: API & Resizing the SysTray window Pin
Ryan Binns1-Mar-05 15:21
Ryan Binns1-Mar-05 15:21 
GeneralRe: API & Resizing the SysTray window Pin
Axonn Echysttas1-Mar-05 21:30
Axonn Echysttas1-Mar-05 21:30 
GeneralRe: API & Resizing the SysTray window Pin
Axonn Echysttas2-Mar-05 11:47
Axonn Echysttas2-Mar-05 11:47 
GeneralRe: API & Resizing the SysTray window Pin
Ryan Binns2-Mar-05 12:43
Ryan Binns2-Mar-05 12:43 
GeneralDrawText+DT_CALCRECT - width of last line Pin
peterchen28-Feb-05 9:44
peterchen28-Feb-05 9:44 
GeneralRe: DrawText+DT_CALCRECT - width of last line Pin
PJ Arends28-Feb-05 10:05
professionalPJ Arends28-Feb-05 10:05 
GeneralRe: DrawText+DT_CALCRECT - width of last line Pin
Ryan Binns28-Feb-05 17:26
Ryan Binns28-Feb-05 17:26 
You could call the method twice with DT_CALCRECT, one with the "More" and one without. If the height of the calculated rectangle changes, then you know that the "More" didn't fit on the line, so it was moved to the next line by DrawText().

Just a thought...

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: DrawText+DT_CALCRECT - width of last line Pin
peterchen28-Feb-05 20:14
peterchen28-Feb-05 20:14 
GeneralRe: DrawText+DT_CALCRECT - width of last line Pin
zhang80060528-Feb-05 20:19
zhang80060528-Feb-05 20:19 
GeneralRe: DrawText+DT_CALCRECT - width of last line Pin
peterchen28-Feb-05 20:38
peterchen28-Feb-05 20:38 
Generalclosing a dialog box created in a different class Pin
itsh1128-Feb-05 8:47
itsh1128-Feb-05 8:47 
GeneralRe: closing a dialog box created in a different class Pin
zhang80060528-Feb-05 20:33
zhang80060528-Feb-05 20:33 
Generallinker error Pin
gyrvwrzp28-Feb-05 7:16
gyrvwrzp28-Feb-05 7:16 
GeneralRe: linker error Pin
PJ Arends28-Feb-05 10:10
professionalPJ Arends28-Feb-05 10:10 
GeneralIcon library format Pin
amehrpour28-Feb-05 7:02
amehrpour28-Feb-05 7:02 
GeneralRe: Icon library format Pin
Michael Dunn28-Feb-05 7:51
sitebuilderMichael Dunn28-Feb-05 7:51 
GeneralRe: Icon library format Pin
amehrpour28-Feb-05 12:11
amehrpour28-Feb-05 12:11 
GeneralRe: Icon library format Pin
David Crow28-Feb-05 8:00
David Crow28-Feb-05 8:00 
Generalcreate full duplex mode network Pin
javad_200528-Feb-05 6:41
javad_200528-Feb-05 6:41 
GeneralNew window in MFC for OpenGL rendering Pin
tordyvel28-Feb-05 6:36
tordyvel28-Feb-05 6:36 
GeneralBitmap Display Help Pin
LighthouseJ28-Feb-05 6:30
LighthouseJ28-Feb-05 6:30 
QuestionFont problem? Pin
RJT23428-Feb-05 6:23
RJT23428-Feb-05 6:23 
AnswerRe: Font problem? Pin
zhang80060528-Feb-05 21:08
zhang80060528-Feb-05 21:08 
Generalmystified Pin
gyrvwrzp28-Feb-05 6:17
gyrvwrzp28-Feb-05 6:17 

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.