Click here to Skip to main content
16,006,382 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Transparency Pin
Christian Graus29-Dec-01 0:02
protectorChristian Graus29-Dec-01 0:02 
GeneralRe: Transparency Pin
clemence29-Dec-01 17:44
clemence29-Dec-01 17:44 
GeneralRe: Transparency Pin
Christian Graus29-Dec-01 23:05
protectorChristian Graus29-Dec-01 23:05 
GeneralUsing auto_ptr :: C++ Pin
valikac28-Dec-01 16:06
valikac28-Dec-01 16:06 
GeneralRe: Using auto_ptr :: C++ Pin
James R. Twine28-Dec-01 16:52
James R. Twine28-Dec-01 16:52 
GeneralRe: Using auto_ptr :: C++ Pin
valikac28-Dec-01 18:09
valikac28-Dec-01 18:09 
Questionwhen OnDraw will be EXECUTED? Pin
AnonymousBabe@usa.net28-Dec-01 14:29
AnonymousBabe@usa.net28-Dec-01 14:29 
GeneralDouble buffering and GDI+ Pin
Anders Molin28-Dec-01 11:52
professionalAnders Molin28-Dec-01 11:52 
I'm just starting to use GDI+...

In the "good old days" I always created a HDC in memory, did all the drawing on it, anf finally BitBlt'ed it to the "real" HDC that actually shows on the screen. This way there was never any flickering when repainting the screen.

Now I have a good question: How do I do that with GDI+?

Do I really have to make a HDC in memory, create a Graphics object that uses my memory-HDC, and then finally BitBlt() from my memdc to my screendc, or is there a smarter way to do it in GDI+?

I really don't want to draw directly on the screen, I need to draw all my graphics in memory, and then copy it all to the screen at once (no flicker).

- Anders

Money talks, but all mine ever says is "Goodbye!"
GeneralRe: Double buffering and GDI+ Pin
Christian Graus28-Dec-01 15:04
protectorChristian Graus28-Dec-01 15:04 
GeneralRe: Double buffering and GDI+ Pin
Anders Molin29-Dec-01 3:57
professionalAnders Molin29-Dec-01 3:57 
Generalplease help Pin
hhh28-Dec-01 9:54
hhh28-Dec-01 9:54 
GeneralRe: please help Pin
Christian Graus28-Dec-01 10:09
protectorChristian Graus28-Dec-01 10:09 
GeneralRe: please help Pin
Christian Graus28-Dec-01 10:56
protectorChristian Graus28-Dec-01 10:56 
GeneralRe: please help Pin
Christian Graus28-Dec-01 11:23
protectorChristian Graus28-Dec-01 11:23 
GeneralRe: please help Pin
Ravi Bhavnani28-Dec-01 11:33
professionalRavi Bhavnani28-Dec-01 11:33 
GeneralRe: please help Pin
hhh28-Dec-01 11:52
hhh28-Dec-01 11:52 
GeneralRe: please help Pin
Ravi Bhavnani28-Dec-01 12:03
professionalRavi Bhavnani28-Dec-01 12:03 
Generalsorry, please check again... Pin
hhh28-Dec-01 12:08
hhh28-Dec-01 12:08 
GeneralRe: sorry, please check again... Pin
Christian Graus28-Dec-01 13:12
protectorChristian Graus28-Dec-01 13:12 
GeneralRe: sorry, please check again... Pin
Christian Graus28-Dec-01 13:19
protectorChristian Graus28-Dec-01 13:19 
GeneralRe: please help Pin
Tim Smith28-Dec-01 12:28
Tim Smith28-Dec-01 12:28 
GeneralRe: please help Pin
Tim Smith28-Dec-01 13:03
Tim Smith28-Dec-01 13:03 
GeneralRe: please help Pin
hhh28-Dec-01 13:10
hhh28-Dec-01 13:10 
GeneralTIM, you're GREAT... Pin
hhh28-Dec-01 13:30
hhh28-Dec-01 13:30 
GeneralRe: TIM, you're GREAT... Pin
Tim Smith28-Dec-01 15:00
Tim Smith28-Dec-01 15:00 

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.