Click here to Skip to main content
15,921,779 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: How to get API Information from API Name in runtime Pin
jm_24020-May-08 22:33
jm_24020-May-08 22:33 
AnswerRe: How to get API Information from API Name in runtime Pin
CPallini20-May-08 22:54
mveCPallini20-May-08 22:54 
QuestionHow to remove GDI Leak due to VideoMixingRenderer9 Pin
paraggandhi20-May-08 0:20
paraggandhi20-May-08 0:20 
QuestionRe: How to remove GDI Leak due to VideoMixingRenderer9 Pin
Rajkumar R20-May-08 0:29
Rajkumar R20-May-08 0:29 
Questionactivex control printing Pin
subramanyeswari19-May-08 23:59
subramanyeswari19-May-08 23:59 
AnswerRe: activex control printing Pin
CPallini20-May-08 0:07
mveCPallini20-May-08 0:07 
QuestionGetWindowRect Pin
baerten19-May-08 23:53
baerten19-May-08 23:53 
AnswerRe: GetWindowRect Pin
Rajesh R Subramanian20-May-08 0:00
professionalRajesh R Subramanian20-May-08 0:00 
baerten wrote:
My question is: Why i get a rectangle of (0,0,190,100) if i make a
Grid->GetClientRect(rect); ?


By drawing something at (-10,0,200,100), you should have produced a result like this:
  <font color="blue">|</font>          <font color="blue">    |</font>
--<font color="blue">|</font>----------<font color="blue">    |</font>
--<font color="blue">|</font>----------<font color="blue">    |</font>
--<font color="blue">|</font>----------<font color="blue">    |</font>
--<font color="blue">|</font>----------<font color="blue">    |</font>
--<font color="blue">|</font>----------<font color="blue">    |</font>


The blue line is the virtual boundary and what is drawn outside the boundary, is gone invisible. Why don't you begin your drawing at 0,0 instead of -10, 0 ? Is there a specific reason to it?


Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP

GeneralOT Pin
CPallini20-May-08 0:04
mveCPallini20-May-08 0:04 
GeneralRe: OT Pin
Rajesh R Subramanian20-May-08 0:09
professionalRajesh R Subramanian20-May-08 0:09 
QuestionRe: OT Pin
CPallini20-May-08 0:16
mveCPallini20-May-08 0:16 
AnswerRe: OT Pin
Rajesh R Subramanian20-May-08 0:24
professionalRajesh R Subramanian20-May-08 0:24 
GeneralRe: GetWindowRect Pin
baerten20-May-08 0:16
baerten20-May-08 0:16 
GeneralRe: GetWindowRect Pin
Rajesh R Subramanian20-May-08 0:48
professionalRajesh R Subramanian20-May-08 0:48 
AnswerRe: GetWindowRect Pin
CPallini20-May-08 0:02
mveCPallini20-May-08 0:02 
GeneralRe: GetWindowRect Pin
Cedric Moonen20-May-08 0:06
Cedric Moonen20-May-08 0:06 
GeneralRe: GetWindowRect Pin
CPallini20-May-08 0:12
mveCPallini20-May-08 0:12 
GeneralRe: GetWindowRect Pin
Cedric Moonen20-May-08 0:56
Cedric Moonen20-May-08 0:56 
GeneralRe: GetWindowRect Pin
CPallini20-May-08 1:55
mveCPallini20-May-08 1:55 
AnswerRe: GetWindowRect Pin
Rajkumar R20-May-08 0:15
Rajkumar R20-May-08 0:15 
GeneralRe: GetWindowRect Pin
baerten20-May-08 0:26
baerten20-May-08 0:26 
GeneralRe: GetWindowRect Pin
Rajkumar R20-May-08 0:30
Rajkumar R20-May-08 0:30 
GeneralRe: GetWindowRect Pin
Rajesh R Subramanian20-May-08 0:34
professionalRajesh R Subramanian20-May-08 0:34 
GeneralRe: GetWindowRect Pin
Rajkumar R20-May-08 0:38
Rajkumar R20-May-08 0:38 
GeneralRe: GetWindowRect Pin
Rajesh R Subramanian20-May-08 0:47
professionalRajesh R Subramanian20-May-08 0:47 

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.