Results 1 to 4 of 4

Thread: screen shot

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 1999
    Posts
    204
    hello;
    how do i get a screen shot behind my program , so it dont take a screen shot of my program just the rest of the screen . hope you know what i mean .
    WHat would we do with out Microsoft.
    A lot more.

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    This code will get the desktop picture, but I'm not sure if that is what you want.

    Code:
    Private Declare Function PaintDesktop Lib "user32" _
    (ByVal hdc As Long) As Long
    
    'To set your form background image to the Windows background, simply call the API like this:
    
    PaintDesktop Form1.hdc

    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 1999
    Posts
    204
    No i mean like take the open windows , but when you do that and have it put in a picture box and then you get your program and it dose somthing wird . so can i get the program behind my program in the ss instead of my program being min and stuff like that . SO can i get a ss of the ss when out my program in the pic but my program still active
    WHat would we do with out Microsoft.
    A lot more.

  4. #4
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Why not minimize it and then restore it after the progress? Or making it temporarily invisible? I know you don't want it, but why not?
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width