Click here to Skip to main content
15,920,633 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalproblem with Picturebox / windows.h Pin
doneirik2-Feb-05 23:25
doneirik2-Feb-05 23:25 
GeneralRe: problem with Picturebox / windows.h Pin
foobar!23-Feb-05 15:01
foobar!23-Feb-05 15:01 
GeneralRe: problem with Picturebox / windows.h Pin
foobar!23-Feb-05 15:31
foobar!23-Feb-05 15:31 
GeneralRe: problem with Picturebox / windows.h Pin
doneirik23-Feb-05 22:14
doneirik23-Feb-05 22:14 
GeneralRe: problem with Picturebox / windows.h Pin
foobar!24-Feb-05 9:13
foobar!24-Feb-05 9:13 
GeneralLDAP Pin
Anthony_Yio2-Feb-05 22:44
Anthony_Yio2-Feb-05 22:44 
Generalvc++ Pin
Member 34588082-Feb-05 22:35
Member 34588082-Feb-05 22:35 
GeneralRe: vc++ Pin
Anthony_Yio2-Feb-05 23:03
Anthony_Yio2-Feb-05 23:03 
GeneralVisual C++ & SourceSafe Integration Pin
Frankie Deak2-Feb-05 22:25
Frankie Deak2-Feb-05 22:25 
GeneralRe: Visual C++ & SourceSafe Integration Pin
Anthony_Yio2-Feb-05 22:47
Anthony_Yio2-Feb-05 22:47 
GeneralRe: Visual C++ & SourceSafe Integration Pin
Frankie.Deak3-Feb-05 0:28
Frankie.Deak3-Feb-05 0:28 
GeneralRe: Visual C++ & SourceSafe Integration Pin
Anonymous3-Feb-05 2:02
Anonymous3-Feb-05 2:02 
GeneralRe: Visual C++ & SourceSafe Integration Pin
Arjan Schouten3-Feb-05 2:47
Arjan Schouten3-Feb-05 2:47 
GeneralCompiler Switch in C/C++ command line Pin
Anonymous2-Feb-05 22:11
Anonymous2-Feb-05 22:11 
GeneralPromblems with CListCtrl Pin
Victor Serpentus2-Feb-05 21:58
Victor Serpentus2-Feb-05 21:58 
GeneralRe: Promblems with CListCtrl Pin
David Crow3-Feb-05 2:57
David Crow3-Feb-05 2:57 
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 

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.