take screenshot

This is a discussion on take screenshot within the Windows Programming forums, part of the Platform Specific Boards category; I've done some searching on these boards and elsewhere and haven'tbeen able to find much. Could someone lead me to ...

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    6

    take screenshot

    I've done some searching on these boards and elsewhere and haven'tbeen able to find much. Could someone lead me to a tutorial or some sample code on how to take a screenshot and save it to a BMP. Thank you.

    EDIT: My bad, I found an answer.
    Last edited by MeGaBiTe1; 09-02-2004 at 07:16 PM.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,630
    Allow others to find an answer in this thread

    gg

  3. #3
    Registered User cfrost's Avatar
    Join Date
    Apr 2004
    Posts
    119
    TO take screen shot
    U can use
    GetDesktopWindow(); it will give u HWND of desktop ...Now use GetDC() to get the dc then bitblt the required part of dc on ur own dc.... You are done ...
    I don`t know how to save it
    Software is like sex it is good when it is free

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. taking screenshot
    By qwertylol2 in forum C++ Programming
    Replies: 2
    Last Post: 05-06-2007, 12:26 AM
  2. Taking Screenshot - Full Screen Dos
    By loko in forum C Programming
    Replies: 12
    Last Post: 07-16-2005, 01:23 AM
  3. get screenshot
    By Draco in forum Windows Programming
    Replies: 4
    Last Post: 04-30-2004, 06:31 AM
  4. screenshot
    By Draco in forum Windows Programming
    Replies: 2
    Last Post: 04-25-2004, 09:46 AM
  5. Taking a screenshot in DirectDraw
    By Stan100 in forum Game Programming
    Replies: 3
    Last Post: 11-13-2003, 10:26 PM

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