Click here to Skip to main content
15,899,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: threadcreation Pin
achainard12-Jun-08 3:52
achainard12-Jun-08 3:52 
QuestionOnTImer in CListCtrl [modified] Pin
Anu_Bala11-Jun-08 1:02
Anu_Bala11-Jun-08 1:02 
AnswerRe: OnTImer in CListCtrl Pin
Jijo.Raj11-Jun-08 1:22
Jijo.Raj11-Jun-08 1:22 
GeneralRe: OnTImer in CListCtrl Pin
Anu_Bala11-Jun-08 1:48
Anu_Bala11-Jun-08 1:48 
GeneralRe: OnTImer in CListCtrl Pin
Jijo.Raj11-Jun-08 2:04
Jijo.Raj11-Jun-08 2:04 
Questionsnapshot code Pin
projectip11-Jun-08 0:08
projectip11-Jun-08 0:08 
AnswerRe: snapshot code Pin
Hamid_RT11-Jun-08 1:16
Hamid_RT11-Jun-08 1:16 
QuestionCapture control Pin
capint11-Jun-08 0:05
capint11-Jun-08 0:05 
I write a program to capture window controls. I used global mouse hook to catch mouse message.
I want that when I move my mouse to a control, there's a rectangle around that control. I got the handle of the control, drew the rectangle but my problem is when I move to another control, the previous rectangle hasn't disappeared yet. I tried RedrawWindow() like this but there was no effect :

CDC *hScrDC;
hScrDC = CDC::FromHandle ( ::GetDCEx(NULL, NULL, 0));
//Tmp is the CDC * of the control
Tmp->RedrawWindow(NULL, NULL, RDW_ERASE | RDW_INVALIDATE | RDW_FRAME | RDW_ALLCHILDREN);
RECT rect;
Tmp->GetWindowRect(&rect);
   int nX = rect.left;     
   int nY = rect.top;     
   int nX2 = rect.right;     
   int nY2 = rect.bottom;    
hScrDC->Rectangle(nX, nY, nX2, nY2);


Some one plz help me Rose | [Rose]
AnswerRe: Capture control Pin
achainard11-Jun-08 2:12
achainard11-Jun-08 2:12 
AnswerRe: Capture control Pin
Nibu babu thomas11-Jun-08 2:14
Nibu babu thomas11-Jun-08 2:14 
GeneralRe: Capture control Pin
capint11-Jun-08 3:02
capint11-Jun-08 3:02 
GeneralRe: Capture control Pin
Nibu babu thomas11-Jun-08 3:05
Nibu babu thomas11-Jun-08 3:05 
QuestionHow to use "IOlkAccount" and other outklook related interfaces through VC++ Pin
Vikash Singh10-Jun-08 23:09
Vikash Singh10-Jun-08 23:09 
QuestionConvert int to wstring Pin
CodingLover10-Jun-08 22:34
CodingLover10-Jun-08 22:34 
AnswerRe: Convert int to wstring Pin
Naveen10-Jun-08 22:36
Naveen10-Jun-08 22:36 
NewsRe: Convert int to wstring Pin
CodingLover10-Jun-08 22:44
CodingLover10-Jun-08 22:44 
GeneralRe: Convert int to wstring Pin
Cedric Moonen10-Jun-08 22:56
Cedric Moonen10-Jun-08 22:56 
GeneralRe: Convert int to wstring Pin
CodingLover10-Jun-08 23:02
CodingLover10-Jun-08 23:02 
AnswerRe: Convert int to wstring Pin
Cedric Moonen10-Jun-08 22:39
Cedric Moonen10-Jun-08 22:39 
NewsRe: Convert int to wstring Pin
CodingLover10-Jun-08 22:52
CodingLover10-Jun-08 22:52 
QuestionVLC control help(VC++ Dialog based aplication) Pin
projectip10-Jun-08 21:51
projectip10-Jun-08 21:51 
AnswerRe: VLC control help(VC++ Dialog based aplication) Pin
Hamid_RT10-Jun-08 22:18
Hamid_RT10-Jun-08 22:18 
GeneralRe: VLC control help(VC++ Dialog based aplication) Pin
projectip10-Jun-08 23:23
projectip10-Jun-08 23:23 
QuestionGetting 3 characters from right in TCHAR variable Pin
VCProgrammer10-Jun-08 21:44
VCProgrammer10-Jun-08 21:44 
AnswerRe: Getting 3 characters from right in TCHAR variable [modified] Pin
Naveen10-Jun-08 22:02
Naveen10-Jun-08 22:02 

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.