Click here to Skip to main content
15,885,244 members
Articles / Web Development / HTML

Screen Snaper SideBar Gadget

Rate me:
Please Sign up or sign in to vote.
4.63/5 (18 votes)
1 Dec 2011CPOL2 min read 117.9K   4.7K   74  
Screen Snaper is perfect to quickly share a picture-perfect representation of anything on your screen.
 /*---------------------------------------------------------------------------
|                                  DCUtility                                  |
|--------------------------------------+--------------------------------------|
|    SolutionName : ScreenSnaperGadget                                        |
|    ProjectName  : Helper                                                    |
|    FileName     : Helper.h                                                  |
|    CreationDate : 2007-03-07                                                |
|    Author       : Dany Cantin                                               |
|    Comments     : dcutility@hotmail.com                                     |
|--------------------------------------+--------------------------------------|
|                             Screen Capture Tool                             |
|                         Windows Vista SideBar Gadget                        |
|--------------------------------------+--------------------------------------|
|                          Copyright � 2007 DCUtility                         |
|                              All rights reserved.                           |
 ---------------------------------------------------------------------------*/
#pragma once

#ifndef __AFXWIN_H__
    #error "include 'stdafx.h' before this file for PCH"
#endif

#include "resource.h"
#include "SystemHelper.h"

class CHelperApp : public CWinApp
{
public:
    CHelperApp();

private:
    CSystemHelper m_SystemHelper;

public:
    BOOL    RegisterListener(BOOL bRegister);
    BOOL    SetPrintScreen(pPrintScreenDelegate pDelegate, int nMode);
    BOOL    ShowSettings();
    HBITMAP GetImage(eSnapType SnapType);
    void    SetCaptureInProgress(BOOL bCaptureInProgress);

public:
    virtual BOOL InitInstance();
    DECLARE_MESSAGE_MAP()
};

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
CEO
Canada Canada

Comments and Discussions