Dynamic HDCs

This is a discussion on Dynamic HDCs within the Windows Programming forums, part of the Platform Specific Boards category; How would go about writing bitmap data to an HDC during execution, rather than loading from a file, and then ...

  1. #1
    Work in Progress..... Jaken Veina's Avatar
    Join Date
    Mar 2005
    Location
    Missouri. Go Imos Pizza!
    Posts
    256

    Dynamic HDCs

    How would go about writing bitmap data to an HDC during execution, rather than loading from a file, and then be able to paint that data to the screen?
    Code:
    void function(void)
     {
      function();
     }

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,691
    Read up on the techniques in this article: Flicker-Free Displays Using an Off-Screen DC
    Read some of the other peer aricles within the TOC pane on the left - GDI Overview, GDI Objects, etc...
    Use MSDN as your reference for Win API functions like CreateCompatibleDC and BitBlt.

    gg

  3. #3
    Work in Progress..... Jaken Veina's Avatar
    Join Date
    Mar 2005
    Location
    Missouri. Go Imos Pizza!
    Posts
    256
    Ahh. Excellent. Thanks a lot.
    Code:
    void function(void)
     {
      function();
     }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 07-11-2008, 08:39 AM
  2. dynamic array/vector help
    By Cpro in forum C++ Programming
    Replies: 8
    Last Post: 04-05-2008, 04:30 PM
  3. Identify dynamic IP address of network device
    By BobS0327 in forum Tech Board
    Replies: 2
    Last Post: 02-21-2006, 01:49 PM
  4. operator overloading and dynamic memory program
    By jlmac2001 in forum C++ Programming
    Replies: 3
    Last Post: 04-07-2003, 12:51 AM
  5. Dynamic Toolbars
    By nvoigt in forum Windows Programming
    Replies: 1
    Last Post: 01-11-2002, 10:21 AM

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