Click here to Skip to main content
16,005,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to add Item to ListCtrl Pin
tina->newcoder14-Jan-08 5:59
tina->newcoder14-Jan-08 5:59 
QuestionEdit accelerator in VC6's resource editor and rebuild all, nothing changes Pin
followait11-Jan-08 22:03
followait11-Jan-08 22:03 
GeneralRe: Edit accelerator in VC6's resource editor and rebuild all, nothing changes Pin
Maxwell Chen12-Jan-08 9:01
Maxwell Chen12-Jan-08 9:01 
GeneralRe: Edit accelerator in VC6's resource editor and rebuild all, nothing changes Pin
followait12-Jan-08 15:42
followait12-Jan-08 15:42 
GeneralRe: Edit accelerator in VC6's resource editor and rebuild all, nothing changes Pin
Maxwell Chen12-Jan-08 18:09
Maxwell Chen12-Jan-08 18:09 
GeneralRe: Edit accelerator in VC6's resource editor and rebuild all, nothing changes Pin
followait12-Jan-08 20:36
followait12-Jan-08 20:36 
GeneralRe: Edit accelerator in VC6's resource editor and rebuild all, nothing changes Pin
followait13-Jan-08 15:03
followait13-Jan-08 15:03 
Generalrare flick problem [Updated] Pin
followait11-Jan-08 20:30
followait11-Jan-08 20:30 
I rebooted my computer, no flicking now...


It's a program using GDI+, it doesn't flick yesterday, but it flicks now, even worse, it causes other irrelevant programs' windows flicking.
I installed sql server 2000 before I found it flicked again.
BTW, I always call Invalidate(FALSE) or InvalidateRect(&rc,FALSE) in the program.
Here is the code in OnDraw:
Graphics g(pDC->m_hDC);
g.SetTransform(&m_Matrix);
g.DrawImage(m_pMemImage,0,0);
g.ResetTransform();

if (m_pCtrlBoxMoving) {
	DrawCtrlBoxFrame(m_pCtrlBoxMoving,&g);
} else if (m_pCtrlBoxSizing) {
	DrawCtrlBoxFrame(m_pCtrlBoxSizing,&g);
} else if (m_pCtrlBoxRotating) {
	DrawCtrlBoxFrame(m_pCtrlBoxRotating,&g);
}


modified on Saturday, January 12, 2008 2:55:40 AM

GeneralCStatic::OnPaint() problem Pin
hanlei000000000911-Jan-08 20:24
hanlei000000000911-Jan-08 20:24 
GeneralRe: CStatic::OnPaint() problem Pin
followait11-Jan-08 20:41
followait11-Jan-08 20:41 
GeneralRe: CStatic::OnPaint() problem Pin
Hamid_RT11-Jan-08 20:48
Hamid_RT11-Jan-08 20:48 
GeneralRe: CStatic::OnPaint() problem Pin
Mark Salsbery12-Jan-08 7:57
Mark Salsbery12-Jan-08 7:57 
GeneralNo two files with same path added to list control Pin
neha.agarwal2711-Jan-08 20:02
neha.agarwal2711-Jan-08 20:02 
GeneralRe: No two files with same path added to list control Pin
Llasus11-Jan-08 20:27
Llasus11-Jan-08 20:27 
GeneralRe: No two files with same path added to list control Pin
Hamid_RT11-Jan-08 20:52
Hamid_RT11-Jan-08 20:52 
GeneralRegarding creation of Log File Pin
H4u3211-Jan-08 19:17
H4u3211-Jan-08 19:17 
QuestionRe: Regarding creation of Log File Pin
CPallini12-Jan-08 0:25
mveCPallini12-Jan-08 0:25 
GeneralRe: Regarding creation of Log File Pin
Maxwell Chen12-Jan-08 10:45
Maxwell Chen12-Jan-08 10:45 
GeneralRe: Regarding creation of Log File Pin
namratakalburgi12-Aug-09 23:27
namratakalburgi12-Aug-09 23:27 
GeneralHELP!!Problem with detecting face shape!! Pin
purplee8511-Jan-08 18:03
purplee8511-Jan-08 18:03 
GeneralRe: HELP!!Problem with detecting face shape!! Pin
CPallini12-Jan-08 0:22
mveCPallini12-Jan-08 0:22 
QuestionCOleVariant decimal value [modified] Pin
littleGreenDude11-Jan-08 7:32
littleGreenDude11-Jan-08 7:32 
GeneralRe: COleVariant decimal value Pin
littleGreenDude11-Jan-08 8:03
littleGreenDude11-Jan-08 8:03 
GeneralRe: COleVariant decimal value Pin
led mike11-Jan-08 8:32
led mike11-Jan-08 8:32 
GeneralGDI+ Region::IsVisible Pin
bob1697211-Jan-08 7:11
bob1697211-Jan-08 7:11 

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.