Thread: What happened to HDC?

  1. #1
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638

    What happened to HDC?

    HDC seems to be down for the duration of the war. I keep getting a error that says web site not responding.

    thank you

  2. #2
    I lurk
    Join Date
    Aug 2002
    Posts
    1,361
    Meh, just call GetDC() or BeginPaint() and supply the handle to your window... windows should hand you a new HDC.

  3. #3
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    dont forget to dispose of the context when your done with it (nice to see i wasnt the only one who had thought it was this and not some web site hehe)

  4. #4
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638

    hdc?

    For some reason I get "web site not responding" error message. I had entered a prog displaying a bitmap and was intrested to see if I won the contest. Any info would help. Is it just this computer that can not get the site or is it others also?

    thank you

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. My progress.. thnx to Cprogramming forumites
    By csonx_p in forum Windows Programming
    Replies: 6
    Last Post: 05-21-2008, 01:17 AM
  2. Avoiding Global variables
    By csonx_p in forum Windows Programming
    Replies: 32
    Last Post: 05-19-2008, 12:17 AM
  3. My first "real" windows app
    By JoshR in forum Windows Programming
    Replies: 2
    Last Post: 07-28-2005, 07:40 AM
  4. destroywindow() problem
    By algi in forum Windows Programming
    Replies: 6
    Last Post: 03-27-2005, 11:40 PM
  5. opengl program as win API menu item
    By SAMSAM in forum Game Programming
    Replies: 1
    Last Post: 03-03-2003, 07:48 PM