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

C / C++ / MFC

 
GeneralRe: Form Scrolling Problem Pin
lucy27-Sep-02 2:27
lucy27-Sep-02 2:27 
GeneralRe: Form Scrolling Problem Pin
RuiSantiago27-Sep-02 3:52
RuiSantiago27-Sep-02 3:52 
Questionhow to terminate a dll? Pin
ns26-Sep-02 5:36
ns26-Sep-02 5:36 
AnswerRe: how to terminate a dll? Pin
Zizilamoroso26-Sep-02 6:15
Zizilamoroso26-Sep-02 6:15 
GeneralRe: how to terminate a dll? Pin
ns26-Sep-02 6:22
ns26-Sep-02 6:22 
AnswerRe: how to terminate a dll? Pin
Tomasz Sowinski26-Sep-02 6:32
Tomasz Sowinski26-Sep-02 6:32 
Generalthanks Pin
ns26-Sep-02 6:43
ns26-Sep-02 6:43 
QuestionHow can VC++ setup DrawText with TabStop with 7 character & DT_EXPANTABS? Pin
ATC26-Sep-02 5:06
ATC26-Sep-02 5:06 
Hi,

I have used the following to print out my text & tabs, it has worked fine!
<br />
  dc.DrawText(Text, CRect(x, y, x + Info.m_rectDraw.Width(), y + csText.cy), DT_EXPANDTABS) ;<br />

*)But because I need some special spacing (in-line) ... I would like to reset the Default TabStop from 8 charcaters down to 7! I try the follwing but it does not work! (set high order byte in nFormat = 7)
<br />
dc.DrawText(Text, CRect(x, y, x + Info.m_rectDraw.Width(), y + csText.cy),  (0x0700 |DT_EXPANDTABS)) <br />

or
<br />
dc.DrawText(Text, CRect(x, y, x + Info.m_rectDraw.Width(), y + csText.cy), (0x0700 | DT_TABSTOP));<br />


Anyone knows why or how to do it?

Many thanks for any help!
AnswerRe: How can VC++ setup DrawText with TabStop with 7 character & DT_EXPANTABS? Pin
Daniel Ferguson26-Sep-02 5:14
Daniel Ferguson26-Sep-02 5:14 
GeneralRe: How can VC++ setup DrawText with TabStop with 7 character & DT_EXPANTABS? Pin
ATC26-Sep-02 7:25
ATC26-Sep-02 7:25 
AnswerRe: How can VC++ setup DrawText with TabStop with 7 character & DT_EXPANTABS? Pin
Tomasz Sowinski26-Sep-02 5:18
Tomasz Sowinski26-Sep-02 5:18 
GeneralRe: where did you get this (0x0700 | DT_EXPANDTABS) stuff? Pin
Anh26-Sep-02 6:14
Anh26-Sep-02 6:14 
GeneralRe: where did you get this (0x0700 | DT_EXPANDTABS) stuff? Pin
Tomasz Sowinski26-Sep-02 6:24
Tomasz Sowinski26-Sep-02 6:24 
GeneralRe: It works beautifully, thanks! Pin
ATC26-Sep-02 7:17
ATC26-Sep-02 7:17 
GeneralMSChart control Pin
Kash26-Sep-02 4:57
Kash26-Sep-02 4:57 
GeneralRe: MSChart control Pin
Tomasz Sowinski26-Sep-02 5:05
Tomasz Sowinski26-Sep-02 5:05 
GeneralSDI, PropertySheets with DesktopParent and Modal Dialogs Pin
MarinaParamonov26-Sep-02 4:57
MarinaParamonov26-Sep-02 4:57 
GeneralRe: SDI, PropertySheets with DesktopParent and Modal Dialogs Pin
Anonymous26-Sep-02 5:11
Anonymous26-Sep-02 5:11 
GeneralRe: SDI, PropertySheets with DesktopParent and Modal Dialogs Pin
MarinaParamonov26-Sep-02 8:11
MarinaParamonov26-Sep-02 8:11 
QuestionMultiple images on a CTreeCtrl tree item? Pin
Rob_PSU26-Sep-02 4:53
sussRob_PSU26-Sep-02 4:53 
AnswerRe: Multiple images on a CTreeCtrl tree item? Pin
Tomasz Sowinski26-Sep-02 5:01
Tomasz Sowinski26-Sep-02 5:01 
GeneralRe: Multiple images on a CTreeCtrl tree item? Pin
Rob_PSU26-Sep-02 5:27
sussRob_PSU26-Sep-02 5:27 
GeneralQuestion about CArray. Pin
Michael Liu26-Sep-02 4:23
Michael Liu26-Sep-02 4:23 
GeneralRe: Question about CArray. Pin
Tomasz Sowinski26-Sep-02 4:49
Tomasz Sowinski26-Sep-02 4:49 
GeneralRe: Question about CArray.... Tomasz Pin
Anonymous26-Sep-02 6:12
Anonymous26-Sep-02 6:12 

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.