Click here to Skip to main content
16,008,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CString! Pin
mostafa_pasha16-Sep-04 7:08
mostafa_pasha16-Sep-04 7:08 
GeneralRe: CString! Pin
Budric B.16-Sep-04 6:45
Budric B.16-Sep-04 6:45 
GeneralRe: CString! Pin
David Crow16-Sep-04 7:07
David Crow16-Sep-04 7:07 
GeneralRe: CString! Pin
mostafa_pasha16-Sep-04 7:17
mostafa_pasha16-Sep-04 7:17 
GeneralRe: CString! Pin
David Crow16-Sep-04 7:21
David Crow16-Sep-04 7:21 
GeneralRe: CString! Pin
mostafa_pasha16-Sep-04 7:41
mostafa_pasha16-Sep-04 7:41 
GeneralRe: CString! Pin
David Crow16-Sep-04 7:47
David Crow16-Sep-04 7:47 
GeneralEliminating Flicker using DirectDraw?! Pin
towd16-Sep-04 5:57
towd16-Sep-04 5:57 
Hi again,

Still trying to get rid of a flicker effect whilst trying to display 2 alternating monochrome bitmaps. I've gone down all the usual routes of double buffering and overriding the OnEraseBackgnd function calls, but still no luck. I still get what appears to be part of the 2nd image being displayed on the first - and eventually swapping over with it so that the 2nd image dominates the first over the course of around 5000 frames (if that makes sense). There's no sign of the background colour being drawn BTW.

It has been suggested that I need to synch the drawing with the vertical blank pulse using directdraw. Is there an easy (ie few lines) of code that can do this? eg can I just create a DirectDraw object and call WaitForVerticalBlank, then use my Blt as usual? If not could anyone please let me know what I need to do to implement the directdraw stuff?

I'm using NT4 and the code is largely mfc based.

Any help much appreciated!
GeneralRe: Eliminating Flicker using DirectDraw?! Pin
normanS19-Sep-04 21:19
normanS19-Sep-04 21:19 
GeneralRe: Eliminating Flicker using DirectDraw?! Pin
towd20-Sep-04 5:43
towd20-Sep-04 5:43 
GeneralRe: Eliminating Flicker using DirectDraw?! Pin
normanS20-Sep-04 20:32
normanS20-Sep-04 20:32 
GeneralRe: Eliminating Flicker using DirectDraw?! Pin
Anonymous23-Sep-04 6:25
Anonymous23-Sep-04 6:25 
GeneralUsing MsChart ActiveX Pin
genki200016-Sep-04 5:45
genki200016-Sep-04 5:45 
GeneralUpdating a CDocument from other objects. Pin
Budric B.16-Sep-04 5:11
Budric B.16-Sep-04 5:11 
GeneralRe: Updating a CDocument from other objects. Pin
David Crow16-Sep-04 6:23
David Crow16-Sep-04 6:23 
GeneralRe: Updating a CDocument from other objects. Pin
Budric B.16-Sep-04 6:42
Budric B.16-Sep-04 6:42 
GeneralRe: Updating a CDocument from other objects. Pin
David Crow16-Sep-04 7:14
David Crow16-Sep-04 7:14 
GeneralRe: Updating a CDocument from other objects. Pin
Budric B.16-Sep-04 7:39
Budric B.16-Sep-04 7:39 
GeneralRe: Updating a CDocument from other objects. Pin
David Crow16-Sep-04 7:44
David Crow16-Sep-04 7:44 
GeneralRe: to which window Pin
Budric B.16-Sep-04 8:32
Budric B.16-Sep-04 8:32 
GeneralRe: to which window Pin
David Crow16-Sep-04 8:55
David Crow16-Sep-04 8:55 
GeneralThank you (nt) Pin
Budric B.16-Sep-04 9:13
Budric B.16-Sep-04 9:13 
GeneralRe: Oh and another silly question Pin
Budric B.16-Sep-04 6:53
Budric B.16-Sep-04 6:53 
GeneralRe: Oh and another silly question Pin
David Crow16-Sep-04 7:04
David Crow16-Sep-04 7:04 
GeneralSerialize Pin
TUMB16-Sep-04 5:02
TUMB16-Sep-04 5:02 

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.