Click here to Skip to main content
16,008,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Careful with CRecordset::GetRecordCount() Pin
BlackDice20-Jul-04 8:22
BlackDice20-Jul-04 8:22 
GeneralRe: need help!!!! Pin
BlackDice19-Jul-04 2:39
BlackDice19-Jul-04 2:39 
GeneralGetting All URLs in the History Folder Pin
Liger_Zero_X19-Jul-04 0:13
Liger_Zero_X19-Jul-04 0:13 
GeneralRe: Getting All URLs in the History Folder Pin
David Crow19-Jul-04 3:05
David Crow19-Jul-04 3:05 
QuestionAre these COORDinates they're talking about or SIZEs? Pin
0v3rloader19-Jul-04 0:13
0v3rloader19-Jul-04 0:13 
AnswerRe: Are these COORDinates they're talking about or SIZEs? Pin
Toni7819-Jul-04 4:24
Toni7819-Jul-04 4:24 
AnswerRe: Are these COORDinates they're talking about or SIZEs? Pin
Johan Rosengren19-Jul-04 4:25
Johan Rosengren19-Jul-04 4:25 
GeneralRe: Are these COORDinates they're talking about or SIZEs? Pin
0v3rloader19-Jul-04 7:46
0v3rloader19-Jul-04 7:46 
Johan Rosengren wrote:
If you are working with CRects, use the Width and Height members respectively.

So you mean, width/height only apply to CRect objects?


Johan Rosengren wrote:
Otherwise, deduct the left coord from the right and the top from the bottom, and you'll get the height and width.

That's exactly what I have been doing...


I was just confused with the information you can find in MSDN -- they make no mention (or actually little) to CRect objects, but instead to (LP)RECT structures; they mention width/heights of rects and NOT coordinates; ...

This is why I thought you didn't really need to use screen coordinates -- after all you do. (isn't it?)

Thanks for the replies, everyone.

David
GeneralRe: Are these COORDinates they're talking about or SIZEs? Pin
Toni7819-Jul-04 8:46
Toni7819-Jul-04 8:46 
GeneralRe: Are these COORDinates they're talking about or SIZEs? Pin
Johan Rosengren19-Jul-04 21:40
Johan Rosengren19-Jul-04 21:40 
GeneralRe: Are these COORDinates they're talking about or SIZEs? Pin
Toni7821-Jul-04 8:36
Toni7821-Jul-04 8:36 
GeneralRe: Are these COORDinates they're talking about or SIZEs? Pin
Johan Rosengren19-Jul-04 21:49
Johan Rosengren19-Jul-04 21:49 
GeneralFinding a file Pin
Anonymous19-Jul-04 0:07
Anonymous19-Jul-04 0:07 
GeneralRe: Finding a file Pin
vikram attiganal19-Jul-04 0:20
vikram attiganal19-Jul-04 0:20 
GeneralRe: Finding a file Pin
Anonymous19-Jul-04 0:37
Anonymous19-Jul-04 0:37 
GeneralRe: Finding a file Pin
gillou166419-Jul-04 0:55
gillou166419-Jul-04 0:55 
GeneralRe: Finding a file Pin
ThatsAlok19-Jul-04 2:28
ThatsAlok19-Jul-04 2:28 
General[MDI] Detecting document switch Pin
Maarten Kools18-Jul-04 23:53
professionalMaarten Kools18-Jul-04 23:53 
Generalstatus bar.. Pin
mvnevis18-Jul-04 23:50
mvnevis18-Jul-04 23:50 
GeneralRe: status bar.. Pin
Maarten Kools18-Jul-04 23:59
professionalMaarten Kools18-Jul-04 23:59 
GeneralRedrawing MSHFlexGrid Pin
V.18-Jul-04 23:36
professionalV.18-Jul-04 23:36 
GeneralRe: Redrawing MSHFlexGrid Pin
Toni7819-Jul-04 5:13
Toni7819-Jul-04 5:13 
Questionis possible to import structure from DLL?? Pin
Anonymous18-Jul-04 22:13
Anonymous18-Jul-04 22:13 
AnswerRe: is possible to import structure from DLL?? Pin
ThatsAlok19-Jul-04 2:49
ThatsAlok19-Jul-04 2:49 
GeneralRe: is possible to import structure from DLL?? Pin
Anonymous19-Jul-04 3:28
Anonymous19-Jul-04 3:28 

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.