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

C / C++ / MFC

 
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 
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 
When you say "refresh the image in each movement" what exactly do you mean? are you trying to create an animation? If you are trying to do something like this with GDI, its probably your best bet to create a memory DC and draw/update that DC to your liking before blitting the final result on to the screen DC (no flickering). This should have the effect of movement (so long as you do it right of course). I'd imagine there would need to be some kind of timer to keep track of when the image is needing refreshment but I'm not sure on that kind of stuff (I've never made a game using GDI). If I've waffled on about the wrong thing feel free to reply. Oh, cheers for your article on DirectX, I'm reading it as we speak, very interesting.

Alan.

"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 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 
GeneralRe: unresolved external problems (again...sigh) Pin
Alan Chambers27-May-02 5:35
Alan Chambers27-May-02 5:35 
GeneralRe: unresolved external problems (again...sigh) Pin
SamirSood27-May-02 5:29
SamirSood27-May-02 5:29 
GeneralRe: unresolved external problems (again...sigh) Pin
Alan Chambers27-May-02 5:48
Alan Chambers27-May-02 5:48 

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.