Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Mouse Gestures for Internet Explorer

, 21 Sep 2005
Adding mouse gesture recognition to Internet Explorer.
mousegestures_inst.zip
mousegestures_inst_1.zip
mousegestures_src.zip
src
gesture.weights
images
about.bmp
ClickLeftRight.bmp
ClickRightLeft.bmp
down.bmp
downarrow.bmp
downleft.bmp
downright.bmp
downup.bmp
exclamation.bmp
left.bmp
leftarrow.bmp
leftright.bmp
none.bmp
right.bmp
rightarrow.bmp
rightleft.bmp
up.bmp
uparrow.bmp
updown.bmp
upleft.bmp
upright.bmp
wheel.bmp
MouseGestures.rgs
mousegestures_src_1.zip
MouseGestures
BrowserHelperObject.rgs
gesture.weights
images
about.bmp
ClickLeftRight.bmp
ClickRightLeft.bmp
down.bmp
downleft.bmp
downright.bmp
downup.bmp
left.bmp
none.bmp
right.bmp
up.bmp
updown.bmp
upleft.bmp
upright.bmp
wheel.bmp
MouseGestures.def
MouseGestures.dsp
MouseGesturesCfg.rgs
///////////////////////////////////////////////////////////////
//
// MouseTrackerEx.h
//
// Created: 27/06/2005
// Copyright (c) 2005 Ralph Hare (ralph.hare@ysgyfarnog.co.uk)
// All rights reserved.
//
// The code and information is provided "as-is" without
// warranty of any kind, either expressed or implied.
//
///////////////////////////////////////////////////////////////

#ifndef __MOUSETRACKEREX_H_8736746F_0434_41FD_B67F_EFD86859078A
#define __MOUSETRACKEREX_H_8736746F_0434_41FD_B67F_EFD86859078A

#include "MouseTracker.h"
#include "TrailWindow.h"
#include <memory>

/**
 * MouseTrackerEx implements a specialisation of the MouseTracker object
 * which maintains its own MouseTrail object. This is used in conjunction
 * with TrailsPage objects to allow the user to try different trail
 * settings without affecting the main trail singleton
 **/
class MouseTrackerEx : public MouseTracker
{
public:
    MouseTrackerEx();

    void UpdateSettings(
                COLORREF clr,
                long thickness,
                BYTE transparency,
                long fadeSpeed
                );

// not implemented
private:
    MouseTrackerEx( const MouseTrackerEx & );
    MouseTrackerEx & operator = ( const MouseTrackerEx & );

private:
    MouseTrail * GetTrail();

private:
    std::auto_ptr< TrailWindow >   m_pTrail;
};

#endif // __MOUSETRACKEREX_H_8736746F_0434_41FD_B67F_EFD86859078A

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

About the Author

Ralph Hare
Web Developer
United Kingdom United Kingdom
No Biography provided

| Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 21 Sep 2005
Article Copyright 2003 by Ralph Hare
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid