Click here to Skip to main content
11,584,612 members (64,023 online)
Click here to Skip to main content

Screen Snaper SideBar Gadget

, 1 Dec 2011 CPOL 80.1K 3.9K 73
Rate this:
Please Sign up or sign in to vote.
Screen Snaper is perfect to quickly share a picture-perfect representation of anything on your screen.

Screenshot - ScreenSnaper Options --> Screenshot - settings.jpg

Screenshot - ScreenSnaper HelpScreenshot - ScreenSnaper Menu

Screenshot - preview.jpg

Introduction

First of all, let me say that this is my first gadget attempt and I have the intention to update this tool.

Do you remember Screen Snaper? It is the free tool that I created and for which most people asked me for the source code of the library SnaperHelper.dll.

Good news for you!

I am proud to present a new gadget version of this tool designed for Windows Vista SideBar and which includes all the source code.

Note: In this article, I will not explain all the code in detail.

Description

Screen Snaper is a powerful, flexible and intuitive screen-capture utility. It allows you to capture anything on the screen.

  • Can capture full screen
  • Can capture Windows or objects on the screen
  • Can capture regions on the screen
  • Can copy image to clipboard automatically
  • Can automatically save captured images
  • Can save images in 7 popular formats: BMP/EMF/GIF/JPG/PNG/TIFF/WMF

Under the Hood

Basically ScreenSnaper is composed of three principal components:

  1. ScreenSnaperHelper (DLL)
  2. ScreenSnaperWrapper (COM)
  3. ScreenSnaper GUI (HTML)

ScreenSnaperHelper library encapsulates core capture function.

  • This is an API DLL written in MFC C++
  • Exposes <GetSnapType(eSnapType[CT_DESKTOP, CT_WINDOW, CT_REGION])>

ScreenSnaperWrapper library encapsulates core image manipulation function.

  • This is an COM DLL written in VB.NET
  • Exposes <GetSnap(eSnapType, eSnapMode[ToClipBoard, ToImage])>
  • Interface to ScreenSnaperHelper library between ScreenSnaper GUI.

ScreenSnaper GUI is the gadget interface itself.

  • This is an HTML page with some JavaScript and CSS
  • Create ScreenSnaperWrapper object to interface ScreenSnaperHelper

This can also be downloaded at Windows Live Gallery.

Enjoy!

Details

For more details on how to create Vista SideBar Gadget, you can go to these resources:

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

DCUtility
DCUtility
Canada Canada

You may also be interested in...

Comments and Discussions

 
Questionscreen snapper Pin
Member 114929542-Mar-15 15:00
memberMember 114929542-Mar-15 15:00 
QuestionPlease Help Pin
delphix56-Dec-13 13:21
memberdelphix56-Dec-13 13:21 
Questionscreensnaper wil not work on Windows 7 64 bits Pin
Johan Navis3-Oct-09 9:07
memberJohan Navis3-Oct-09 9:07 
AnswerRe: screensnaper wil not work on Windows 7 64 bits Pin
DCUtility30-Nov-11 11:21
memberDCUtility30-Nov-11 11:21 
GeneralRe: screensnaper wil not work on Windows 7 64 bits Pin
Kraeven6-Dec-11 22:30
memberKraeven6-Dec-11 22:30 
GeneralRe: screensnaper wil not work on Windows 7 64 bits Pin
DCUtility7-Dec-11 12:42
memberDCUtility7-Dec-11 12:42 
Generalpart of screen Pin
Member 383119430-Sep-09 1:51
memberMember 383119430-Sep-09 1:51 
Generalso good Pin
cigogo30-Jul-08 15:27
membercigogo30-Jul-08 15:27 
GeneralGreat coding style Pin
Nick Z.21-Jun-08 6:39
memberNick Z.21-Jun-08 6:39 
QuestionHow to get size of image using 'ScreenSnaperHelper.dll' Pin
chengnet13-Oct-07 2:28
memberchengnet13-Oct-07 2:28 
Hi Sir,

'SnaperHelper.dll' uses 'HBITMAP WINAPI GetDesktopImage(LPSIZE lpSize = NULL);', therefore I can get return value from size of image,but 'ScreenSnaperHelper.dll' uses 'HBITMAP WINAPI GetSnapType(eSnapType SnapType);',it can't get return value of size of image,how to get size of image using 'ScreenSnaperHelper.dll'? Thanks.
QuestionHow to manage "Screen Snaper·" as WinForm Control Pin
Miguel Angel Fernadez Pinedo15-Jun-07 1:43
memberMiguel Angel Fernadez Pinedo15-Jun-07 1:43 
AnswerRe: How to manage "Screen Snaper·" as WinForm Control Pin
arunreddyp19-Jun-07 15:07
memberarunreddyp19-Jun-07 15:07 
AnswerRe: How to manage "Screen Snaper·" as WinForm Control Pin
Miguel Angel Fernadez Pinedo19-Jun-07 20:25
memberMiguel Angel Fernadez Pinedo19-Jun-07 20:25 
GeneralWonderful Sidebar Gadget Pin
csnyder2-May-07 7:43
membercsnyder2-May-07 7:43 
GeneralExcellent Tool - but small issue :( Pin
srikanth_0327-Apr-07 1:44
membersrikanth_0327-Apr-07 1:44 
GeneralIt's so wonderful! Pin
Member #208684214-Mar-07 19:28
memberMember #208684214-Mar-07 19:28 
QuestionDid you mean "Snapper"? Pin
mcgmatt12-Mar-07 18:06
membermcgmatt12-Mar-07 18:06 
GeneralUpdated [modified] Pin
DCUtility10-Mar-07 8:46
memberDCUtility10-Mar-07 8:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150707.1 | Last Updated 1 Dec 2011
Article Copyright 2007 by DCUtility
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid