Click here to Skip to main content
15,909,953 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Tab Key Pin
sweep12328-May-04 0:34
sweep12328-May-04 0:34 
GeneralRe: Tab Key Pin
Ryan Binns28-May-04 0:46
Ryan Binns28-May-04 0:46 
GeneralRe: Tab Key Pin
Anthony_Yio28-May-04 19:10
Anthony_Yio28-May-04 19:10 
GeneralRe: Tab Key Pin
Ryan Binns29-May-04 3:41
Ryan Binns29-May-04 3:41 
GeneralCreateProcessWithLogonW Pin
cobyjone27-May-04 10:25
cobyjone27-May-04 10:25 
GeneralRe: CreateProcessWithLogonW Pin
Rob Manderson27-May-04 12:41
protectorRob Manderson27-May-04 12:41 
GeneralRe: CreateProcessWithLogonW Pin
cobyjone28-May-04 3:48
cobyjone28-May-04 3:48 
GeneralChanging Size Font and Vertical Scroll Bar Pin
Eversman27-May-04 10:16
Eversman27-May-04 10:16 
Hey all,

I got 2 questions.

1st one is how do you change the size of a CString? I have tired and I couldn't get it, here is what I have tried.

<br />
CFont font;<br />
   font.CreatePointFont(480, "Arial", &dc);<br />
<br />
<br />
   CString str("DEP");<br />
<br />
   CSize size = dc.GetTextExtent(str);<br />
<br />
	dc.DrawText(str, printArea, DT_NOPREFIX | DT_WORDBREAK);<br />
<br />


2nd question is how do you get a Veritcal Scroll Bar to work? I know how to add it to a Dialog, but can't get it to scroll.

Thanks for the help
GeneralRe: Changing Size Font and Vertical Scroll Bar Pin
gUrM33T27-May-04 15:07
gUrM33T27-May-04 15:07 
GeneralUsing Excel data in VC++ 6.0 Pin
greg8927-May-04 9:31
greg8927-May-04 9:31 
GeneralRe: Using Excel data in VC++ 6.0 Pin
Anthony_Yio27-May-04 17:47
Anthony_Yio27-May-04 17:47 
GeneralRe: Using Excel data in VC++ 6.0 Pin
greg8928-May-04 2:33
greg8928-May-04 2:33 
GeneralRe: Using Excel data in VC++ 6.0 Pin
Anthony_Yio28-May-04 19:00
Anthony_Yio28-May-04 19:00 
GeneralEndModalDialog?? Any Ideas Pin
Cedar Sith27-May-04 7:15
Cedar Sith27-May-04 7:15 
GeneralRe: EndModalDialog?? Any Ideas Pin
Anthony_Yio27-May-04 16:54
Anthony_Yio27-May-04 16:54 
GeneralRe: EndModalDialog?? Any Ideas Pin
Cedar Sith28-May-04 3:01
Cedar Sith28-May-04 3:01 
GeneralRe: EndModalDialog?? Any Ideas Pin
Anthony_Yio28-May-04 19:06
Anthony_Yio28-May-04 19:06 
GeneralRe: EndModalDialog?? Any Ideas Pin
Gary R. Wheeler28-May-04 5:25
Gary R. Wheeler28-May-04 5:25 
GeneralALT+TAB functionality. Pin
baskarchinnu27-May-04 7:06
baskarchinnu27-May-04 7:06 
GeneralRe: ALT+TAB functionality. Pin
Alexander M.,27-May-04 8:34
Alexander M.,27-May-04 8:34 
GeneralRe: ALT+TAB functionality. Pin
baskarchinnu27-May-04 21:23
baskarchinnu27-May-04 21:23 
Questionhow to add a minimize button and maximize button on a dialog? Pin
vividtang27-May-04 6:39
vividtang27-May-04 6:39 
AnswerRe: how to add a minimize button and maximize button on a dialog? Pin
David Crow27-May-04 7:05
David Crow27-May-04 7:05 
AnswerRe: how to add a minimize button and maximize button on a dialog? Pin
Alexander M.,27-May-04 8:41
Alexander M.,27-May-04 8:41 
GeneralRe: how to add a minimize button and maximize button on a dialog? Pin
J.B.27-May-04 17:00
J.B.27-May-04 17:00 

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.