Click here to Skip to main content
15,890,690 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Reference variable assignment and copy constructor call Pin
Randor 4-Apr-14 23:57
professional Randor 4-Apr-14 23:57 
QuestionSoftware USB write blocker for linux Pin
dream qq4-Apr-14 13:32
dream qq4-Apr-14 13:32 
QuestionHow to change tab event of property sheet Pin
kangte22223-Apr-14 15:15
kangte22223-Apr-14 15:15 
QuestionRe: How to change tab event of property sheet Pin
David Crow3-Apr-14 16:43
David Crow3-Apr-14 16:43 
AnswerRe: How to change tab event of property sheet Pin
Malli_S3-Apr-14 23:59
Malli_S3-Apr-14 23:59 
AnswerRe: How to change tab event of property sheet Pin
Randor 4-Apr-14 8:56
professional Randor 4-Apr-14 8:56 
QuestionGetWindowRect(),GetClientRect() question Pin
econy3-Apr-14 8:42
econy3-Apr-14 8:42 
AnswerRe: GetWindowRect(),GetClientRect() question Pin
Randor 3-Apr-14 9:08
professional Randor 3-Apr-14 9:08 
Hi,

It's all relative, my dear Watson.

econy wrote:
ScreenToClient(&rect) gets which point?


ScreenToClient will convert a screet RECT (your 'spoint') coordinates to be relative to client RECT (your 'cpoint'). In your example the top and left will be negative coordinates relative to the client top/left.

Window Coordinate System[^]

Best Wishes,
-David Delaune
Questionsolar irradiance c++ program Pin
Member 107223713-Apr-14 6:53
Member 107223713-Apr-14 6:53 
AnswerRe: solar irradiance c++ program Pin
Albert Holguin3-Apr-14 7:00
professionalAlbert Holguin3-Apr-14 7:00 
GeneralRe: solar irradiance c++ program Pin
Member 107223713-Apr-14 7:13
Member 107223713-Apr-14 7:13 
AnswerRe: solar irradiance c++ program Pin
fat___boy3-Apr-14 10:25
fat___boy3-Apr-14 10:25 
Questionreading stdout Pin
Chris Losinger3-Apr-14 5:52
professionalChris Losinger3-Apr-14 5:52 
AnswerRe: reading stdout Pin
Albert Holguin3-Apr-14 7:05
professionalAlbert Holguin3-Apr-14 7:05 
GeneralRe: reading stdout Pin
Chris Losinger3-Apr-14 7:08
professionalChris Losinger3-Apr-14 7:08 
AnswerRe: reading stdout Pin
Albert Holguin3-Apr-14 7:15
professionalAlbert Holguin3-Apr-14 7:15 
GeneralRe: reading stdout Pin
Chris Losinger3-Apr-14 7:17
professionalChris Losinger3-Apr-14 7:17 
GeneralRe: reading stdout Pin
Albert Holguin3-Apr-14 7:26
professionalAlbert Holguin3-Apr-14 7:26 
AnswerRe: reading stdout Pin
Randor 3-Apr-14 8:37
professional Randor 3-Apr-14 8:37 
QuestionAre MFC Timer(s) bad for performance in large projects (Vc++) Pin
C3D13-Apr-14 2:23
professionalC3D13-Apr-14 2:23 
AnswerRe: Are MFC Timer(s) bad for performance in large projects (Vc++) Pin
Albert Holguin3-Apr-14 3:33
professionalAlbert Holguin3-Apr-14 3:33 
AnswerRe: Are MFC Timer(s) bad for performance in large projects (Vc++) Pin
Stefan_Lang3-Apr-14 3:52
Stefan_Lang3-Apr-14 3:52 
GeneralRe: Are MFC Timer(s) bad for performance in large projects (Vc++) Pin
Albert Holguin3-Apr-14 4:06
professionalAlbert Holguin3-Apr-14 4:06 
GeneralRe: Are MFC Timer(s) bad for performance in large projects (Vc++) Pin
Heng Xiangzhong7-Apr-14 19:34
Heng Xiangzhong7-Apr-14 19:34 
GeneralRe: Are MFC Timer(s) bad for performance in large projects (Vc++) Pin
Stefan_Lang7-Apr-14 21:35
Stefan_Lang7-Apr-14 21:35 

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.