Click here to Skip to main content
16,007,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Opening the CD drive through code Pin
Gero Gerber7-Jul-01 23:34
Gero Gerber7-Jul-01 23:34 
GeneralProblem with Print Setup Pin
Wolfram Steinke7-Jul-01 19:57
Wolfram Steinke7-Jul-01 19:57 
GeneralRe: Problem with Print Setup Pin
Christian Graus8-Jul-01 2:19
protectorChristian Graus8-Jul-01 2:19 
GeneralPlease help with creating a Hidden Window inside a Win32 DLL, thank you. Pin
JavaTony7-Jul-01 16:39
JavaTony7-Jul-01 16:39 
GeneralCCtrlView for non Windows' controls Pin
7-Jul-01 14:11
suss7-Jul-01 14:11 
GeneralRe: CCtrlView for non Windows' controls Pin
Michael Dunn7-Jul-01 14:18
sitebuilderMichael Dunn7-Jul-01 14:18 
GeneralRe: CCtrlView for non Windows' controls Pin
7-Jul-01 14:27
suss7-Jul-01 14:27 
QuestionHow to make flicker free dialog interface? Pin
7-Jul-01 14:07
suss7-Jul-01 14:07 
subj.

I try:

void CTest::OnPaint()
{
CPaintDC dc(this);
CMemDC memdc(&dc);

CRect clip;
memdc.GetClipBox(&clip);
memdc.FillSolidRect(clip, GetSysColor (COLOR_3DLIGHT));

DefWindowProc(WM_PAINT, (WPARAM)memdc->m_hDC, (LPARAM)0);
}


BOOL CTestDlg::OnEraseBkgnd(CDC* pDC)
{
return FALSE;
}

but anyway my *picture control* flickering and after max/min window's size flicks too. Even more when I open any file by CFileDialog my controls aren't repainted.

What's wrong?
AnswerRe: How to make flicker free dialog interface? Pin
Michael Dunn7-Jul-01 14:17
sitebuilderMichael Dunn7-Jul-01 14:17 
GeneralRe: How to make flicker free dialog interface? Pin
7-Jul-01 14:24
suss7-Jul-01 14:24 
GeneralRe: How to make flicker free dialog interface? Pin
Michael Dunn7-Jul-01 14:29
sitebuilderMichael Dunn7-Jul-01 14:29 
GeneralRe: How to make flicker free dialog interface? Pin
9-Jul-01 3:57
suss9-Jul-01 3:57 
AnswerRe: How to make flicker free dialog interface? Pin
Christian Graus8-Jul-01 2:22
protectorChristian Graus8-Jul-01 2:22 
AnswerRe: How to make flicker free dialog interface? Pin
Tommy H D Svensson18-Sep-01 5:42
Tommy H D Svensson18-Sep-01 5:42 
GeneralCString Find Pin
7-Jul-01 12:38
suss7-Jul-01 12:38 
GeneralRe: CString Find Pin
Michael Dunn7-Jul-01 19:46
sitebuilderMichael Dunn7-Jul-01 19:46 
GeneralRe: CString Find Pin
8-Jul-01 5:29
suss8-Jul-01 5:29 
GeneralSingle application instance Pin
Joe Moldovan7-Jul-01 12:35
Joe Moldovan7-Jul-01 12:35 
GeneralRe: Single application instance Pin
Tim Deveaux7-Jul-01 12:55
Tim Deveaux7-Jul-01 12:55 
GeneralRe: Single application instance Pin
l a u r e n7-Jul-01 23:00
l a u r e n7-Jul-01 23:00 
GeneralRe: Single application instance Pin
Stan Shannon8-Jul-01 1:07
Stan Shannon8-Jul-01 1:07 
GeneralRe: Single application instance Pin
Vu Nguyen7-Dec-01 14:43
Vu Nguyen7-Dec-01 14:43 
GeneralRe: Single application instance Pin
Vu Nguyen10-Dec-01 10:29
Vu Nguyen10-Dec-01 10:29 
GeneralRe: Single application instance Pin
Joe Moldovan8-Jul-01 10:15
Joe Moldovan8-Jul-01 10:15 
GeneralRe: Single application instance Pin
8-Jul-01 13:21
suss8-Jul-01 13:21 

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.