Click here to Skip to main content
15,902,492 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: IDC_BUTTON undeclared identifier ! Pin
cats819929-Sep-05 7:20
cats819929-Sep-05 7:20 
GeneralRe: IDC_BUTTON undeclared identifier ! Pin
sunguy29-Sep-05 7:25
sunguy29-Sep-05 7:25 
GeneralRe: IDC_BUTTON undeclared identifier ! Pin
ThatsAlok29-Sep-05 17:48
ThatsAlok29-Sep-05 17:48 
AnswerRe: IDC_BUTTON undeclared identifier ! Pin
AHawk29-Sep-05 16:45
AHawk29-Sep-05 16:45 
QuestionHow to know if a CFormView is visible? Pin
almc29-Sep-05 7:19
almc29-Sep-05 7:19 
AnswerRe: How to know if a CFormView is visible? Pin
Arcrest29-Sep-05 14:56
Arcrest29-Sep-05 14:56 
GeneralRe: How to know if a CFormView is visible? Pin
almc29-Sep-05 22:40
almc29-Sep-05 22:40 
QuestionSpy++ Utility Pin
ddmcr29-Sep-05 6:16
ddmcr29-Sep-05 6:16 
Hello everybody,
I am writing a simple application in MFC , similar to Spy++ Utility , that displays different information about chosen window.
I want to draw that black rectangle(like in Spy++) over windows ,when mouse is over that window. I manage to draw it , but when i move mouse to another window the rectangle stays on the previous window and on the new also.
I used to store previous windows handle and when the mouse was over another window i used to call the Invalidate() function for the previous window.
For some strange reasons this worked on 90% of the windows , there were some windows where the rectangle stayed partialy.

Can anyone suggest me any another way of achieving this??



"Success is the ability to go from one failure to another with no loss of enthusiasm." - W.Churchill


AnswerRe: Spy++ Utility Pin
Andy Moore29-Sep-05 7:01
Andy Moore29-Sep-05 7:01 
GeneralRe: Spy++ Utility Pin
ddmcr29-Sep-05 7:07
ddmcr29-Sep-05 7:07 
GeneralRe: Spy++ Utility Pin
David Crow29-Sep-05 9:16
David Crow29-Sep-05 9:16 
GeneralRe: Spy++ Utility Pin
ThatsAlok29-Sep-05 17:57
ThatsAlok29-Sep-05 17:57 
GeneralRe: Spy++ Utility Pin
ddmcr30-Sep-05 6:01
ddmcr30-Sep-05 6:01 
GeneralRe: Spy++ Utility Pin
ThatsAlok30-Sep-05 18:02
ThatsAlok30-Sep-05 18:02 
Questione How to get the source IP address and port ? Pin
rushing29-Sep-05 5:25
rushing29-Sep-05 5:25 
AnswerRe: e How to get the source IP address and port ? Pin
Graham Bradshaw29-Sep-05 13:51
Graham Bradshaw29-Sep-05 13:51 
QuestionHWND handle Pin
tl0825429-Sep-05 5:02
tl0825429-Sep-05 5:02 
AnswerRe: HWND handle Pin
John M. Drescher29-Sep-05 6:15
John M. Drescher29-Sep-05 6:15 
AnswerRe: HWND handle Pin
ThatsAlok29-Sep-05 22:25
ThatsAlok29-Sep-05 22:25 
QuestionGet Text for a Control Pin
cats819929-Sep-05 4:19
cats819929-Sep-05 4:19 
AnswerRe: Get Text for a Control Pin
David Crow29-Sep-05 6:51
David Crow29-Sep-05 6:51 
GeneralRe: Get Text for a Control Pin
cats819929-Sep-05 7:19
cats819929-Sep-05 7:19 
GeneralRe: Get Text for a Control Pin
David Crow29-Sep-05 9:15
David Crow29-Sep-05 9:15 
AnswerRe: Get Text for a Control Pin
Andy Moore29-Sep-05 6:59
Andy Moore29-Sep-05 6:59 
GeneralRe: Get Text for a Control Pin
cats819929-Sep-05 7:19
cats819929-Sep-05 7:19 

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.