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

C / C++ / MFC

 
GeneralRe: Need AfxFindResourceHandle method on Win32 API Pin
Eugene Pustovoyt7-Dec-04 8:06
Eugene Pustovoyt7-Dec-04 8:06 
GeneralRe: Need AfxFindResourceHandle method on Win32 API Pin
David Crow7-Dec-04 8:14
David Crow7-Dec-04 8:14 
GeneralRe: Need AfxFindResourceHandle method on Win32 API Pin
Neville Franks7-Dec-04 8:56
Neville Franks7-Dec-04 8:56 
GeneralGroup box repaint problem in MDI Child Window Pin
FreeSync7-Dec-04 6:52
sussFreeSync7-Dec-04 6:52 
GeneralRe: Group box repaint problem in MDI Child Window Pin
David Crow7-Dec-04 7:41
David Crow7-Dec-04 7:41 
GeneralRe: Group box repaint problem in MDI Child Window Pin
FreeSync7-Dec-04 8:26
sussFreeSync7-Dec-04 8:26 
GeneralRe: Group box repaint problem in MDI Child Window Pin
David Crow7-Dec-04 9:21
David Crow7-Dec-04 9:21 
GeneralSolution in my own backyard ... : ) Pin
FreeSync7-Dec-04 10:41
sussFreeSync7-Dec-04 10:41 
Thanks for your time but I know now what caused this!

In order to avoid flickering (the MDI child windows are non-(user-)movable but changes size & position (including the controls in it) when the main window is resized), I overrided the WM_ERASEBKGND ON both the CMDIChildWnd and CFormView to return TRUE. Also, I handled the WM_PAINT on the CFormView to manually paint the dialog color and all the controls. It still flickered (but the group box repaints fine). I modified it and avoided the flicker, which eventually caused the group box not to repaint properly.

Problem solved!

(I have no idea why I missed it!!!)

Thanks for your time Smile | :)
GeneralCalling an EXE from a dialog app Pin
ravagga7-Dec-04 5:46
ravagga7-Dec-04 5:46 
GeneralRe: Calling an EXE from a dialog app Pin
BlackDice7-Dec-04 6:25
BlackDice7-Dec-04 6:25 
GeneralRe: Calling an EXE from a dialog app Pin
User 66587-Dec-04 6:43
User 66587-Dec-04 6:43 
GeneralRe: Calling an EXE from a dialog app Pin
David Crow7-Dec-04 7:37
David Crow7-Dec-04 7:37 
GeneralRe: Calling an EXE from a dialog app Pin
toxcct7-Dec-04 21:43
toxcct7-Dec-04 21:43 
GeneralStreams and MFC Pin
sweep1237-Dec-04 5:15
sweep1237-Dec-04 5:15 
GeneralRe: Streams and MFC Pin
Neville Franks7-Dec-04 9:04
Neville Franks7-Dec-04 9:04 
GeneralRe: Streams and MFC Pin
sweep1237-Dec-04 21:51
sweep1237-Dec-04 21:51 
GeneralRe: Streams and MFC Pin
Neville Franks7-Dec-04 23:52
Neville Franks7-Dec-04 23:52 
GeneralRe: Streams and MFC Pin
sweep1237-Dec-04 21:58
sweep1237-Dec-04 21:58 
GeneralVC++ Profiler Pin
Paper#7-Dec-04 5:05
Paper#7-Dec-04 5:05 
GeneralRe: VC++ Profiler Pin
Neville Franks7-Dec-04 9:08
Neville Franks7-Dec-04 9:08 
GeneralRe: VC++ Profiler Pin
John R. Shaw7-Dec-04 12:44
John R. Shaw7-Dec-04 12:44 
Generalwhy SCL not support Unicode filename Pin
sprewellkobe7-Dec-04 4:11
sprewellkobe7-Dec-04 4:11 
GeneralModifying a Bitmap Pin
nripun7-Dec-04 2:52
nripun7-Dec-04 2:52 
GeneralRe: Modifying a Bitmap Pin
John R. Shaw7-Dec-04 13:12
John R. Shaw7-Dec-04 13:12 
GeneralResizing Activex control Pin
Almenara7-Dec-04 2:16
Almenara7-Dec-04 2:16 

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.