Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralNeed AfxFindResourceHandle method on Win32 API Pin
Eugene Pustovoyt7-Dec-04 6:55
Eugene Pustovoyt7-Dec-04 6:55 
GeneralRe: Need AfxFindResourceHandle method on Win32 API Pin
David Crow7-Dec-04 7:36
David Crow7-Dec-04 7:36 
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 
Front. I tried the code from MSDN and handled the WM_ERASEBKGND of the group box: paint the client area with the dialog color, have the system paint the group box itself, and have the parent window redraw by trying both RedrawWindow and Invalidate. It did not work, only make the group box appear empty.

I also tried putting the group box back from the rest of the controls. The controls repainted but the group box didn't. Tried to use the same solution ending with the same result. Also modified it to enumerate the rest of the controls and have them repaint themselves (RedrawWindow & Invalidate, MSDN didn't provide a sample code how). Unfortunately, not only is it flickering but also processor intensive when fine tuning it to only redraw controls within the group box.

What I'm hoping is similar to the Doc/View Arch. where no additional code was used.

Anyway, will consider other solutions.
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 
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 

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.