Click here to Skip to main content
16,011,383 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help...cl.exe hangs on big project Pin
Chris Hafey18-Nov-01 18:24
Chris Hafey18-Nov-01 18:24 
GeneralRe: Help...cl.exe hangs on big project Pin
Mike Nordell18-Nov-01 21:24
Mike Nordell18-Nov-01 21:24 
GeneralRe: Help...cl.exe hangs on big project Pin
Rassman19-Nov-01 4:16
Rassman19-Nov-01 4:16 
GeneralIcons - Big vs. Small (Size does matter) Pin
16-Nov-01 10:14
suss16-Nov-01 10:14 
GeneralRe: Icons - Big vs. Small (Size does matter) Pin
Michael Dunn16-Nov-01 10:22
sitebuilderMichael Dunn16-Nov-01 10:22 
GeneralRe: Icons - Big vs. Small (Size does matter) Pin
RobJones16-Nov-01 10:23
RobJones16-Nov-01 10:23 
GeneralRe: Icons - Big vs. Small (Size does matter) Pin
16-Nov-01 10:52
suss16-Nov-01 10:52 
GeneralHelp! WS_CLIPCHILDREN and scrollbar buttons Pin
16-Nov-01 10:04
suss16-Nov-01 10:04 
I've implemented double-buffering in a custom CWnd-derived control with horizontal and vertical scrollbars to eliminate flickering.

The final touch to this, to keep the parent dialog from causing flicker on my control, is to set the dialog's WS_CLIPCHILDREN flag to TRUE (using the resource editor, select "Clip Children").

In doing this, though, I've found that no matter what I do, when I resize, the area usually occupied by the scrollbar buttons is a "smear" of the last contents of the new area that the buttons should occupy.

Refreshing by dragging a window over the button and away causes them to redraw again, so I get the feeling that some vital message is not being passed from the dialog to my control on resizing... but I can't figure out what that message would be!

I've been tearing my hear out on this for three days now, so it's time for me to hear from someone who has gone through this before. Any help is extremely welcome, even if it comes in the form of thought-provoking questions.

Thanks. Confused | :confused:

Tom Guyette

GeneralRe: Help! WS_CLIPCHILDREN and scrollbar buttons Pin
Chris Hafey17-Nov-01 6:46
Chris Hafey17-Nov-01 6:46 
GeneralRe: Help! WS_CLIPCHILDREN and scrollbar buttons Pin
17-Nov-01 14:24
suss17-Nov-01 14:24 
GeneralConsole Background Color Pin
Steve L.16-Nov-01 9:19
Steve L.16-Nov-01 9:19 
GeneralRe: Console Background Color Pin
Carlos Antollini16-Nov-01 9:41
Carlos Antollini16-Nov-01 9:41 
GeneralRe: Console Background Color Pin
Steve L.16-Nov-01 11:14
Steve L.16-Nov-01 11:14 
GeneralRe: Console Background Color Pin
Nish Nishant16-Nov-01 13:51
sitebuilderNish Nishant16-Nov-01 13:51 
GeneralRe: Console Background Color Pin
moliate16-Nov-01 14:23
moliate16-Nov-01 14:23 
GeneralRe: Console Background Color Pin
Steve L.16-Nov-01 15:57
Steve L.16-Nov-01 15:57 
Generaltransparent Listbox Pin
16-Nov-01 8:47
suss16-Nov-01 8:47 
GeneralRe: transparent Listbox Pin
Rassman19-Nov-01 4:42
Rassman19-Nov-01 4:42 
GeneralDisable button ! Pin
Hadi Rezaee16-Nov-01 8:34
Hadi Rezaee16-Nov-01 8:34 
GeneralRe: Disable button ! Pin
Nish Nishant16-Nov-01 13:48
sitebuilderNish Nishant16-Nov-01 13:48 
GeneralRe: Disable button ! Pin
Hadi Rezaee16-Nov-01 14:58
Hadi Rezaee16-Nov-01 14:58 
GeneralRe: Disable button ! Pin
Nish Nishant16-Nov-01 17:16
sitebuilderNish Nishant16-Nov-01 17:16 
GeneralRe: Disable button ! Pin
Hadi Rezaee17-Nov-01 0:27
Hadi Rezaee17-Nov-01 0:27 
GeneralRe: Disable button ! Pin
Nish Nishant17-Nov-01 0:41
sitebuilderNish Nishant17-Nov-01 0:41 
GeneralAlpha Blending Pin
16-Nov-01 8:05
suss16-Nov-01 8:05 

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.