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

C / C++ / MFC

 
GeneralRe: Image comparison - How to read an image so you can compare pixels? Pin
LunaticFringe20-Nov-09 1:30
LunaticFringe20-Nov-09 1:30 
GeneralRe: Image comparison - How to read an image so you can compare pixels? Pin
justabeagle20-Nov-09 11:54
justabeagle20-Nov-09 11:54 
AnswerRe: Image comparison - How to read an image so you can compare pixels? Pin
David Crow20-Nov-09 3:47
David Crow20-Nov-09 3:47 
Questiona problem about debug and release Pin
vctrlao19-Nov-09 18:24
vctrlao19-Nov-09 18:24 
AnswerRe: a problem about debug and release Pin
Cedric Moonen19-Nov-09 20:14
Cedric Moonen19-Nov-09 20:14 
GeneralRe: a problem about debug and release Pin
vctrlao19-Nov-09 20:28
vctrlao19-Nov-09 20:28 
GeneralRe: a problem about debug and release Pin
Cedric Moonen19-Nov-09 20:36
Cedric Moonen19-Nov-09 20:36 
Questiondifficulty getting Client rect Pin
doug2519-Nov-09 18:02
doug2519-Nov-09 18:02 
Hi, i'm writing a dll for another program

i'm basically having difficulty getting the correct client rect (where x is few pixels to the right of the window x and y is below the border) of a window that i have a handle to

i'm currently using GetWindowInfo

here's the code

WINDOWINFO wi;<br />
<br />
wi.cbSize = sizeof(WINDOWINFO);<br />
<br />
GetWindowInfo(window_handle, &wi);


when I debug the dll the values of the client rect in wi aren't correct

the window isn't created with my dll, but i'm pretty sure i've got the right window handle

how do i get the correct client rect of a window, am i doing something wrong ?

thanks
AnswerRe: difficulty getting Client rect Pin
Sebin Francis19-Nov-09 18:32
Sebin Francis19-Nov-09 18:32 
GeneralRe: difficulty getting Client rect Pin
doug2519-Nov-09 19:01
doug2519-Nov-09 19:01 
QuestionRe: difficulty getting Client rect Pin
David Crow20-Nov-09 3:51
David Crow20-Nov-09 3:51 
AnswerRe: difficulty getting Client rect Pin
doug2520-Nov-09 11:59
doug2520-Nov-09 11:59 
QuestionMicrosoft Visual Studio 6.0 Pin
Jacobb Michael19-Nov-09 17:04
Jacobb Michael19-Nov-09 17:04 
AnswerRe: Microsoft Visual Studio 6.0 Pin
Rajesh R Subramanian19-Nov-09 17:11
professionalRajesh R Subramanian19-Nov-09 17:11 
QuestionGroup Box Issue Pin
Sebin Francis19-Nov-09 16:42
Sebin Francis19-Nov-09 16:42 
QuestionProblems running code on XP x64 Pin
dybs19-Nov-09 16:29
dybs19-Nov-09 16:29 
AnswerRe: Problems running code on XP x64 Pin
Richard Andrew x6419-Nov-09 16:34
professionalRichard Andrew x6419-Nov-09 16:34 
GeneralRe: Problems running code on XP x64 Pin
dybs19-Nov-09 16:44
dybs19-Nov-09 16:44 
GeneralRe: Problems running code on XP x64 Pin
dybs20-Nov-09 3:08
dybs20-Nov-09 3:08 
GeneralRe: Problems running code on XP x64 Pin
Richard Andrew x6420-Nov-09 11:29
professionalRichard Andrew x6420-Nov-09 11:29 
QuestionHow find out the line number of died line in VC6.0? Pin
rambojanggoon19-Nov-09 15:40
rambojanggoon19-Nov-09 15:40 
AnswerRe: How find out the line number of died line in VC6.0? Pin
Chandrasekharan P19-Nov-09 15:58
Chandrasekharan P19-Nov-09 15:58 
AnswerRe: How find out the line number of died line in VC6.0? Pin
lxkjlzz19-Nov-09 16:58
lxkjlzz19-Nov-09 16:58 
GeneralRe: How find out the line number of died line in VC6.0? Pin
T210220-Nov-09 12:46
T210220-Nov-09 12:46 
QuestionRe: How find out the line number of died line in VC6.0? Pin
22491720-Nov-09 18:32
22491720-Nov-09 18:32 

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.