Click here to Skip to main content
15,915,739 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionis it posible to do this.... Pin
Jhony george2-Jul-07 20:04
Jhony george2-Jul-07 20:04 
QuestionRe: is it posible to do this.... Pin
Hamid_RT2-Jul-07 22:15
Hamid_RT2-Jul-07 22:15 
QuestionRe: is it posible to do this.... Pin
Jhony george2-Jul-07 22:55
Jhony george2-Jul-07 22:55 
AnswerRe: is it posible to do this.... [modified] Pin
Mark Salsbery3-Jul-07 10:11
Mark Salsbery3-Jul-07 10:11 
GeneralRe: is it posible to do this.... Pin
Jhony george3-Jul-07 21:47
Jhony george3-Jul-07 21:47 
GeneralRe: is it posible to do this.... Pin
Mark Salsbery4-Jul-07 6:09
Mark Salsbery4-Jul-07 6:09 
QuestionA simple problem about DrawText Pin
whiteclouds2-Jul-07 17:09
whiteclouds2-Jul-07 17:09 
AnswerRe: A simple problem about DrawText Pin
Arman S.2-Jul-07 19:27
Arman S.2-Jul-07 19:27 
I think the coordinates in the DrawText are the Text's position.

I could hardly get what you mean by saying 'Text's position'.. Anyway, DrawText works on the same coordinate system as other CDC functions do. Particularly, it works with logical coordinates set by the current mapping mode.


But why the string will disappeared when I decrease the value of rc.top?

Simply because by decreasing the rc.top, you are offseting the entire rectangle. You might think that 'decrease' would inflate the rectangle.. but not. Use CRect::InflateRect instead, or besides decreasing rc.top also increase rc.bottom.


--
=====
Arman

Questionproblem about RichEdit Pin
kcynic2-Jul-07 15:29
kcynic2-Jul-07 15:29 
AnswerRe: problem about RichEdit Pin
Naveen2-Jul-07 15:42
Naveen2-Jul-07 15:42 
GeneralRe: problem about RichEdit Pin
kcynic2-Jul-07 18:41
kcynic2-Jul-07 18:41 
QuestionKeywords that I don't understand Pin
Alex Cutovoi2-Jul-07 13:26
Alex Cutovoi2-Jul-07 13:26 
AnswerRe: Keywords that I don't understand Pin
Stephen Hewitt2-Jul-07 13:30
Stephen Hewitt2-Jul-07 13:30 
AnswerRe: Keywords that I don't understand [modified] Pin
Jeremy Falcon2-Jul-07 14:12
professionalJeremy Falcon2-Jul-07 14:12 
GeneralRe: Keywords that I don't understand Pin
Stephen Hewitt2-Jul-07 15:03
Stephen Hewitt2-Jul-07 15:03 
GeneralRe: Keywords that I don't understand Pin
Jeremy Falcon2-Jul-07 15:16
professionalJeremy Falcon2-Jul-07 15:16 
GeneralRe: Keywords that I don't understand Pin
Stephen Hewitt2-Jul-07 15:38
Stephen Hewitt2-Jul-07 15:38 
GeneralRe: Keywords that I don't understand Pin
Jeremy Falcon2-Jul-07 16:00
professionalJeremy Falcon2-Jul-07 16:00 
GeneralRe: Keywords that I don't understand Pin
Stephen Hewitt2-Jul-07 16:15
Stephen Hewitt2-Jul-07 16:15 
GeneralRe: Keywords that I don't understand Pin
Jeremy Falcon2-Jul-07 16:24
professionalJeremy Falcon2-Jul-07 16:24 
GeneralRe: Keywords that I don't understand Pin
Jeremy Falcon2-Jul-07 16:08
professionalJeremy Falcon2-Jul-07 16:08 
GeneralRe: Keywords that I don't understand Pin
Stephen Hewitt2-Jul-07 16:22
Stephen Hewitt2-Jul-07 16:22 
GeneralRe: Keywords that I don't understand Pin
Jeremy Falcon2-Jul-07 16:25
professionalJeremy Falcon2-Jul-07 16:25 
GeneralRe: Keywords that I don't understand Pin
User 5838522-Jul-07 16:44
User 5838522-Jul-07 16:44 
GeneralRe: Keywords that I don't understand Pin
Jeremy Falcon2-Jul-07 16:48
professionalJeremy Falcon2-Jul-07 16:48 

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.