Click here to Skip to main content
15,919,434 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Start Bar Question Pin
-Dy26-Jul-02 0:20
-Dy26-Jul-02 0:20 
GeneralRe: Start Bar Question Pin
Dave Matrix26-Jul-02 2:02
Dave Matrix26-Jul-02 2:02 
GeneralLinefeeds in CString Pin
JennyP25-Jul-02 13:54
JennyP25-Jul-02 13:54 
GeneralRe: Linefeeds in CString Pin
Nish Nishant25-Jul-02 15:45
sitebuilderNish Nishant25-Jul-02 15:45 
GeneralRe: Linefeeds in CString Pin
JennyP25-Jul-02 17:02
JennyP25-Jul-02 17:02 
GeneralRe: Linefeeds in CString Pin
Nish Nishant25-Jul-02 17:08
sitebuilderNish Nishant25-Jul-02 17:08 
GeneralRe: Linefeeds in CString Pin
Ravi Bhavnani25-Jul-02 17:17
professionalRavi Bhavnani25-Jul-02 17:17 
GeneralRe: Linefeeds in CString Pin
-Dy26-Jul-02 0:16
-Dy26-Jul-02 0:16 
I spotted that someone suggested you use DrawText() with DT_CALCRECT. When you have multiple lines MSDN states that DrawText() with DT_CALCRECT will not alter the .right attribute of your CRect, but when I tried to use that (with both \n and \r\n as line breaks) DrawText() always altered the .right attribute! To get round this, you might want to try the technique used in Roger Allen's 'Example of how to print a long CString across multiple pages' of output using the MFC print architecture
' article.



Dylan Kenneally
London, UK
QuestionHow to get address of an instance Pin
CSharpDavid25-Jul-02 13:20
CSharpDavid25-Jul-02 13:20 
AnswerRe: How to get address of an instance Pin
Christian Graus25-Jul-02 13:45
protectorChristian Graus25-Jul-02 13:45 
GeneralRe: How to get address of an instance Pin
soptest25-Jul-02 14:22
soptest25-Jul-02 14:22 
GeneralRe: How to get address of an instance Pin
Christian Graus25-Jul-02 14:31
protectorChristian Graus25-Jul-02 14:31 
GeneralRe: How to get address of an instance Pin
Daniel Lohmann25-Jul-02 14:39
Daniel Lohmann25-Jul-02 14:39 
GeneralRe: How to get address of an instance Pin
Christian Graus25-Jul-02 14:52
protectorChristian Graus25-Jul-02 14:52 
GeneralRe: How to get address of an instance Pin
Mukkie26-Jul-02 5:32
Mukkie26-Jul-02 5:32 
AnswerRe: How to get address of an instance Pin
includeh1026-Jul-02 1:04
includeh1026-Jul-02 1:04 
AnswerRe: How to get address of an instance Pin
Anonymous26-Jul-02 10:22
Anonymous26-Jul-02 10:22 
QuestionHow to declare a SomeType &var in the header file? Pin
nss25-Jul-02 13:03
nss25-Jul-02 13:03 
AnswerRe: How to declare a SomeType &var in the header file? Pin
Christian Graus25-Jul-02 13:41
protectorChristian Graus25-Jul-02 13:41 
GeneralRe: How to declare a SomeType &var in the header file? Pin
nss25-Jul-02 15:30
nss25-Jul-02 15:30 
GeneralRe: How to declare a SomeType &var in the header file? Pin
Christian Graus25-Jul-02 15:47
protectorChristian Graus25-Jul-02 15:47 
AnswerRe: How to declare a SomeType &var in the header file? Pin
pépé26-Jul-02 2:52
pépé26-Jul-02 2:52 
GeneralRe: How to declare a SomeType &var in the header file? Pin
ns26-Jul-02 3:43
ns26-Jul-02 3:43 
QuestionHow to get server side system time? Pin
Tida25-Jul-02 11:07
Tida25-Jul-02 11:07 

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.