Click here to Skip to main content
16,015,040 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalqueue of buffers Pin
starnx27-May-02 7:10
starnx27-May-02 7:10 
QuestionHow to return C++ Class pointer in COM interface? Pin
Uttam Kumar Unik!27-May-02 5:52
Uttam Kumar Unik!27-May-02 5:52 
AnswerRe: How to return C++ Class pointer in COM interface? Pin
Paul M Watt27-May-02 6:09
mentorPaul M Watt27-May-02 6:09 
GeneralRe: How to return C++ Class pointer in COM interface? Pin
Uttam Kumar Unik!27-May-02 21:42
Uttam Kumar Unik!27-May-02 21:42 
AnswerRe: How to return C++ Class pointer in COM interface? Pin
Le centriste28-May-02 7:57
Le centriste28-May-02 7:57 
GeneralListbox sorting Pin
_Magnus_27-May-02 5:38
_Magnus_27-May-02 5:38 
GeneralSubject: Flickering (A problem for EVER) Pin
Hadi Rezaee27-May-02 5:09
Hadi Rezaee27-May-02 5:09 
GeneralRe: Subject: Flickering (A problem for EVER) Pin
Erik Funkenbusch27-May-02 5:16
Erik Funkenbusch27-May-02 5:16 
There are many solutions to flickering. Likely, your biggest problem is that your WM_ERASEBKGRND is drawing a white rectangle everytime you invalidate, and before you repaint your image. Override WM_ERASEBKGRND and do something more intelligent.

Another option are Memory DC's, which you can draw into and then blit into your physical DC all at once. There are several samples of both here at CP.



--
Where are we going? And why am I in this handbasket?
GeneralRe: Subject: Flickering (A problem for EVER) Pin
Hadi Rezaee27-May-02 6:36
Hadi Rezaee27-May-02 6:36 
GeneralRe: Subject: Flickering (A problem for EVER) Pin
Hadi Rezaee27-May-02 7:59
Hadi Rezaee27-May-02 7:59 
GeneralRe: Subject: Flickering (A problem for EVER) Pin
Alan Chambers27-May-02 6:06
Alan Chambers27-May-02 6:06 
GeneralRe: Subject: Flickering (A problem for EVER) Pin
Hadi Rezaee27-May-02 6:35
Hadi Rezaee27-May-02 6:35 
GeneralRe: Subject: Flickering (A problem for EVER) Pin
Hadi Rezaee27-May-02 8:01
Hadi Rezaee27-May-02 8:01 
GeneralRe: Subject: Flickering (A problem for EVER) Pin
Alan Chambers27-May-02 9:20
Alan Chambers27-May-02 9:20 
GeneralRe: Subject: Flickering (A problem for EVER) Pin
Hadi Rezaee27-May-02 9:26
Hadi Rezaee27-May-02 9:26 
GeneralRe: Subject: Flickering (A problem for EVER) Pin
Alan Chambers27-May-02 10:02
Alan Chambers27-May-02 10:02 
GeneralCalling Windiff within my program Pin
Gilfrog27-May-02 5:00
Gilfrog27-May-02 5:00 
GeneralRe: Calling Windiff within my program Pin
Martin Ziacek27-May-02 5:54
Martin Ziacek27-May-02 5:54 
GeneralRe: Calling Windiff within my program Pin
Gilfrog27-May-02 6:26
Gilfrog27-May-02 6:26 
GeneralRe: Calling Windiff within my program Pin
Martin Ziacek27-May-02 7:41
Martin Ziacek27-May-02 7:41 
GeneralRe: Calling Windiff within my program Pin
Gilfrog27-May-02 8:08
Gilfrog27-May-02 8:08 
GeneralRe: Calling Windiff within my program Pin
Martin Ziacek27-May-02 8:25
Martin Ziacek27-May-02 8:25 
GeneralRe: Calling Windiff within my program Pin
Gilfrog27-May-02 8:44
Gilfrog27-May-02 8:44 
GeneralRe: Calling Windiff within my program Pin
Mike Nordell27-May-02 21:03
Mike Nordell27-May-02 21:03 
GeneralSetting System Time and Date Pin
Mark Donkers27-May-02 4:50
Mark Donkers27-May-02 4:50 

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.