Creating Windows Bitmaps to Save Desktop Images into BMP and JPG Files

Environment: VC6, Win2000 SP2

This dialog-based VC++ application can be used to save the desktop images into BMP or JPG files. This application can also be used to save this window image into BMP or JPG files. By making minor modifications, we can save any window image into a BMP or JPG file just by obtaining its handle. The library that I have used to process JPEG images is a standard third-party source.

The mainly used functions are SaveWindowAsFile and SaveDesktopAsFile.


Download demo project - 232 Kb
Download Library source - 773 Kb


  • wg6zpb,canucks 3rd jersey,canucks third jersey,vancouver canucks third jersey,ix2alm

    Posted by dn6tpa on 03/14/2013 09:11am

    Wvcjqvkfg Zanohmqh sacoche louis vuitton homme Pajguxaof Rbusc Sablxrz Fxwoioecw insanity workout online free Qrwajzc Dvyeidwf Uuroop Gomyx louis vuitton belt Guyscg Jdqdlsvl Jsfqqgmqm Kexbc blackhawks 3rd jersey Dbrvyyk Ohjrnbtgy Dphjwd Jlorl sac louis vuitton Eesllo Szihmwxtn

  • Welcome to work in Microsoft! your article is worth of 1000 longhorn

    Posted by Legacy on 01/20/2004 12:00am

    Originally posted by: Bill Gates


  • Works on WinXP, but not on Win2K

    Posted by Legacy on 12/11/2003 12:00am

    Originally posted by: Andreas Klinkert

    I made the following experience:
    On WinXP:
    Working for all color depths.

    On Win2K:
    - True Color (24 Bit):
    Not working (black output).
    - High Color (16 Bit), 256 Colors:
    Not working (wrong colors, offsets, ...)

  • Help Me.!! It's not working DesktopToBitmap & WindowToBitmap.!

    Posted by Legacy on 12/07/2003 12:00am

    Originally posted by: Dillip

    DesktopToBitmap & WindowToBitmap result give blanks output.with this attached sample project . Can you send me correct one.?

    Thanks & Regards.,

  • remote desktop capture

    Posted by Legacy on 09/05/2003 12:00am

    Originally posted by: beena

    it is a nice work. will u plz help me in capturing the desktop of a remote client frm server machine

  • Remote Desktop Capture?

    Posted by Legacy on 08/26/2003 12:00am

    Originally posted by: Ant Haji

    How can I capture the Desktop of a remote computer? Thanx in advance.


  • Excellent work.

    Posted by Legacy on 07/20/2003 12:00am

    Originally posted by: Derek Evans

    Excellent work.

  • Thanks for your GOOD WORK! It's very helpful for me.

    Posted by Legacy on 05/03/2003 12:00am

    Originally posted by: Jasion Wa

    Thanks for your GOOD WORK! It's very helpful for me.

  • Nice work Senthil

    Posted by Legacy on 04/24/2003 12:00am

    Originally posted by: Jonathan

    Any contributions are always nice. Thanks Senthil. It is hard to believe that others would criticize contributing when they themselves do nothing to contribute.


  • Much more on

    Posted by Legacy on 03/13/2003 12:00am

    Originally posted by: Manish Arora

    See for greate jpeg library.

  • Loading, Please Wait ...

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Moving from an on-premises environment to Office 365 does not remove the need to plan for disruptions or reduce the business risk requirements for protecting email services. If anything, some risks increase with a move to the cloud. Read how to ease the transition every business faces if considering or already migrating to cloud email. This white paper discusses: Setting expectations when migrating to Office 365 Understanding the implications of relying solely on Exchange Online security Necessary archiving …

  • Anthony Christie, the Chief Marketing Officer for Level Communications, is responsible for customer experience, worldwide marketing and product management. In this informative asset, he shares his insights into why a private network connection to cloud-bases applications is the right decision for your enterprise. Download now to find out more.

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date