Click here to Skip to main content
15,897,187 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMost Recent Used FIles Pin
doctorpi2-Feb-05 21:43
doctorpi2-Feb-05 21:43 
GeneralRe: Most Recent Used FIles Pin
David Crow3-Feb-05 3:11
David Crow3-Feb-05 3:11 
QuestionHow to close form Pin
Member 15114712-Feb-05 21:30
Member 15114712-Feb-05 21:30 
AnswerRe: How to close form Pin
Geert van Horrik3-Feb-05 1:57
Geert van Horrik3-Feb-05 1:57 
GeneralRe: How to close form Pin
Anonymous6-Feb-05 0:35
Anonymous6-Feb-05 0:35 
GeneralImage flickers when Invalidate() is called. Pin
jazzkiller2-Feb-05 19:30
jazzkiller2-Feb-05 19:30 
GeneralRe: Image flickers when Invalidate() is called. Pin
Member 9009872-Feb-05 20:33
Member 9009872-Feb-05 20:33 
GeneralRe: Image flickers when Invalidate() is called. Pin
Christopher Lloyd3-Feb-05 1:16
Christopher Lloyd3-Feb-05 1:16 
If the window flickers it must mean that something else is being drawn to it between each of your StretchDIBits calls (otherwise you'd just be blitting the same image over the top of itself and you'd see no flicker).
Probably what's causing the flicker is that your window's background is being erased as part of the repaint. However, if your image fills the window this erasing is entirely unnecessary and you should prevent it.
An easy way to do this is to trap the WM_ERASEBKGND message and return zero -you should then find that that flickering goes away.
GeneralRe: Image flickers when Invalidate() is called. Pin
jazzkiller3-Feb-05 6:11
jazzkiller3-Feb-05 6:11 
GeneralRe: Image flickers when Invalidate() is called. Pin
Christopher Lloyd3-Feb-05 7:14
Christopher Lloyd3-Feb-05 7:14 
GeneralRe: Image flickers when Invalidate() is called. Pin
jazzkiller3-Feb-05 10:05
jazzkiller3-Feb-05 10:05 
GeneralRe: Image flickers when Invalidate() is called. Pin
Christopher Lloyd3-Feb-05 10:29
Christopher Lloyd3-Feb-05 10:29 
GeneralGET BITMAP Pin
kedar.dave2-Feb-05 19:17
kedar.dave2-Feb-05 19:17 
QuestionHow to change the scan code while posting WM_KEYDOWN and WM_KEYUP messages? Pin
ledallam2-Feb-05 17:59
ledallam2-Feb-05 17:59 
AnswerRe: How to change the scan code while posting WM_KEYDOWN and WM_KEYUP messages? Pin
Christopher Lloyd3-Feb-05 1:23
Christopher Lloyd3-Feb-05 1:23 
GeneralRe: How to change the scan code while posting WM_KEYDOWN and WM_KEYUP messages? Pin
Blake Miller3-Feb-05 6:03
Blake Miller3-Feb-05 6:03 
QuestionHow to corelate VC++ data to EXCElL sheet Pin
Member 9009872-Feb-05 17:56
Member 9009872-Feb-05 17:56 
AnswerRe: How to corelate VC++ data to EXCElL sheet Pin
tigron2-Feb-05 18:28
tigron2-Feb-05 18:28 
AnswerRe: How to corelate VC++ data to EXCElL sheet Pin
David Crow3-Feb-05 3:12
David Crow3-Feb-05 3:12 
GeneralThreaded Concept Question Pin
LighthouseJ2-Feb-05 16:53
LighthouseJ2-Feb-05 16:53 
GeneralRe: Threaded Concept Question Pin
LighthouseJ2-Feb-05 18:13
LighthouseJ2-Feb-05 18:13 
GeneralRe: Threaded Concept Question Pin
rwestgraham2-Feb-05 19:13
rwestgraham2-Feb-05 19:13 
GeneralRe: Threaded Concept Question Pin
LighthouseJ3-Feb-05 2:34
LighthouseJ3-Feb-05 2:34 
GeneralRe: Threaded Concept Question Pin
Blake Miller3-Feb-05 6:18
Blake Miller3-Feb-05 6:18 
GeneralDetecting fullscreen apps Pin
Anonymous2-Feb-05 16:51
Anonymous2-Feb-05 16:51 

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.