Click here to Skip to main content
15,894,343 members
Articles / Programming Languages / C++

A better Zoomin utility

Rate me:
Please Sign up or sign in to vote.
4.93/5 (32 votes)
17 Jun 20054 min read 81.5K   1.2K   56  
A better Zoomin utility.
#if !defined(AFX_PICKER_H__67968BF9_4A25_4480_8A43_FD3683666AF1__INCLUDED_)
#define AFX_PICKER_H__67968BF9_4A25_4480_8A43_FD3683666AF1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Picker.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPicker window

class CPicker : public CStatic
{
// Construction
public:
        CPicker();

// Attributes
public:

// Operations
public:

// Overrides
        // ClassWizard generated virtual function overrides
        //{{AFX_VIRTUAL(CPicker)
        //}}AFX_VIRTUAL

// Implementation
public:
        virtual ~CPicker();

        // Generated message map functions
protected:
        //{{AFX_MSG(CPicker)
        afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
        //}}AFX_MSG

        DECLARE_MESSAGE_MAP()
};


/****************************************************************************
*                                 UWM_PICKER
* Inputs:
*       WPARAM: TRUE for pickup, FALSE for drop
*       LPARAM: (WPARAM)MAKELONG(x, y)
* Result: LRESULT
*       Logically void, 0, always
* Effect: 
*       Notifies the parent that the cursor has been picked out
****************************************************************************/

#include "msg.h"
#define UWM_PICKER_MSG _T("UWM_PICKER-{9ED38EEB-3069-48b0-B770-E13BDAE8A1D3}")

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PICKER_H__67968BF9_4A25_4480_8A43_FD3683666AF1__INCLUDED_)

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Retired
United States United States
PhD, Computer Science, Carnegie Mellon University, 1975
Certificate in Forensic Science and the Law, Duquesne University, 2008

Co-Author, [i]Win32 Programming[/i]

Comments and Discussions