Fastest Display?

This is a discussion on Fastest Display? within the Windows Programming forums, part of the Platform Specific Boards category; Let's say I have a 2d array of COLORREFS that I want to put on the screen. Right now, I ...

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    752

    Fastest Display?

    Let's say I have a 2d array of COLORREFS that I want to put on the screen. Right now, I am using nested for loops calling SetPixelV whenever I need to display this array to the screen, which works, but I can see the image scan onto the picture. Is there any way for me to just flip my array onto the screen all at once?
    Callou collei we'll code the way
    Of prime numbers and pings!

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    You can try drawing to a pseduo Back Buffer DC first and then blitting that onto your main DC. Just create a compatible DC and you should be set. Remember to delete the DC when you are finished. This might help a little bit.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. display character size...(quite urgent..)
    By karthi in forum C Programming
    Replies: 10
    Last Post: 07-11-2007, 10:42 PM
  2. new problem with class
    By jrb47 in forum C++ Programming
    Replies: 0
    Last Post: 12-01-2006, 08:39 AM
  3. Help needed Please
    By jereland in forum C Programming
    Replies: 9
    Last Post: 03-18-2004, 05:30 AM
  4. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 10:44 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21