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

C / C++ / MFC

 
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 
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 
I agree with Erik, the problem is more than likely going to be WM_ERASEBKGRND which you must override and probably just return false. However, I think a better solution completely would be to use the DirectX SDK if your writing your own game. Its much faster than GDI because you can access your graphics hardware to deal with all the drawing, and can eliminate flickering by updating the monitor when the vertical blank occurs (if you wanted to). The drawback is its more complicated to implement than GDI (you need to know about backbuffers, surfaces and flipping), oh, and the version 8 SDK is about 180Mb, if your on a 56k modem you could go days without using the telephone line Smile | :) .

"When I left you I was but the learner, now I am the master" - Darth Vader
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 
GeneralRe: Setting System Time and Date Pin
Mark Donkers27-May-02 4:59
Mark Donkers27-May-02 4:59 
Generalunresolved external problems (again...sigh) Pin
Alan Chambers27-May-02 4:44
Alan Chambers27-May-02 4:44 
GeneralRe: unresolved external problems (again...sigh) Pin
Orbital^27-May-02 4:53
Orbital^27-May-02 4:53 

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.