Getting area "Behind" the window... Urgent!

This is a discussion on Getting area "Behind" the window... Urgent! within the Windows Programming forums, part of the Platform Specific Boards category; I need to BitBlt the image behind my window onto my window, as to make it "Invisible", this is vital ...

  1. #1
    Registered User minime6696's Avatar
    Join Date
    Aug 2001
    Posts
    267

    Exclamation Getting area "Behind" the window... Urgent!

    I need to BitBlt the image behind my window onto my window, as to make it "Invisible", this is vital to my project, and no I can't jsut not show the window... lolz.

    Please Help, Thanks...


    SPH

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,856
    Try,
    on init, to GetDesktopWindow(). Use this handle to GetDC(), this DC should have the a BMP containing the computers desktop.

    Use GetUpdateRect() to find the area the paint call is for and BitBlt() from the desktop BMP.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WM_CAPTION causing CreateWindowEx() to fail.
    By Necrofear in forum Windows Programming
    Replies: 8
    Last Post: 04-06-2007, 08:23 AM
  2. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 10:06 AM
  3. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  4. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 09:01 PM

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