Click here to Skip to main content
15,902,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: nsigned to char * Pin
Michael Dunn12-Oct-02 12:07
sitebuilderMichael Dunn12-Oct-02 12:07 
GeneralHooking CWnd::OnIdle() without subclassing Pin
John Clayton12-Oct-02 9:07
John Clayton12-Oct-02 9:07 
GeneralPrinting Debug Without Printer :: MFC Pin
valikac12-Oct-02 6:08
valikac12-Oct-02 6:08 
GeneralRe: Printing Debug Without Printer :: MFC Pin
Joaquín M López Muñoz12-Oct-02 6:16
Joaquín M López Muñoz12-Oct-02 6:16 
GeneralRe: Printing Debug Without Printer :: MFC Pin
valikac12-Oct-02 6:31
valikac12-Oct-02 6:31 
GeneralNanosecond timer resolution for Windows OS Pin
jrthatcher12-Oct-02 6:02
jrthatcher12-Oct-02 6:02 
GeneralRe: Nanosecond timer resolution for Windows OS Pin
MaximE12-Oct-02 11:34
MaximE12-Oct-02 11:34 
GeneralCDC::DrawText Pin
xeonboy12-Oct-02 5:36
xeonboy12-Oct-02 5:36 
Now, I wanna ask 2 questions about CDC::DrawText(...).

As you know, besides supplying the text to be drawn, you also gotta tell the function the bounding rectangle to draw the text in.

1) If we specify the bounding rectangle to be far much more larger than the text(for e.g : CRect(10,10,600,600) to hold just the word "Xeon", in small fonts), DrawText(...) will auto-shrink and auto-size the bounding rectangle to fit the size of the text, right?

2) Is this behaviour the same on all versions of Windows? MSDN doesn't say too much about this at all.

Please and thanks a lot! Smile | :)

......
GeneralRe: CDC::DrawText Pin
Joaquín M López Muñoz12-Oct-02 6:13
Joaquín M López Muñoz12-Oct-02 6:13 
GeneralRe: CDC::DrawText Pin
xeonboy12-Oct-02 16:25
xeonboy12-Oct-02 16:25 
GeneralDev Studio AddIn - Getting OnIdle() to work. Pin
John Clayton12-Oct-02 5:27
John Clayton12-Oct-02 5:27 
GeneralLocating *my* icon in the system tray Pin
Taka Muraoka12-Oct-02 3:20
Taka Muraoka12-Oct-02 3:20 
QuestionIs Winsock XP different?? Pin
zbyrat12-Oct-02 2:44
zbyrat12-Oct-02 2:44 
AnswerRe: Is Winsock XP different?? Pin
Mike Nordell12-Oct-02 5:56
Mike Nordell12-Oct-02 5:56 
GeneralRe: Is Winsock XP different?? Pin
zbyrat12-Oct-02 6:22
zbyrat12-Oct-02 6:22 
GeneralMemory leak Pin
suresh_sathya12-Oct-02 2:23
suresh_sathya12-Oct-02 2:23 
GeneralRe: Memory leak Pin
MaximE12-Oct-02 11:29
MaximE12-Oct-02 11:29 
QuestionHow can i simple add a JPG image to my Dialog based application Pin
whofmans12-Oct-02 1:54
whofmans12-Oct-02 1:54 
AnswerRe: How can i simple add a JPG image to my Dialog based application Pin
Michael P Butler12-Oct-02 2:00
Michael P Butler12-Oct-02 2:00 
AnswerRe: How can i simple add a JPG image to my Dialog based application Pin
Nish Nishant12-Oct-02 2:06
sitebuilderNish Nishant12-Oct-02 2:06 
GeneralCopy - rename Pin
Brakanjan12-Oct-02 1:49
Brakanjan12-Oct-02 1:49 
GeneralRe: Copy - rename Pin
Nish Nishant12-Oct-02 2:09
sitebuilderNish Nishant12-Oct-02 2:09 
GeneralRe: Copy - rename Pin
Brakanjan12-Oct-02 2:25
Brakanjan12-Oct-02 2:25 
GeneralRe: Copy - rename Pin
Nish Nishant12-Oct-02 3:50
sitebuilderNish Nishant12-Oct-02 3:50 
GeneralRe: Copy - rename Pin
Maximilien12-Oct-02 5:31
Maximilien12-Oct-02 5:31 

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.