Click here to Skip to main content
13,144,265 members (33,334 online)
Click here to Skip to main content

Stats

960.3K views
13.1K downloads
234 bookmarked
Posted 27 Sep 2003

Mouse Gestures for Internet Explorer

, 21 Sep 2005
Adding mouse gesture recognition to Internet Explorer.
MouseGestures.exe
MouseGestures.exe
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
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
/* this ALWAYS GENERATED file contains the definitions for the interfaces */


/* File created by MIDL compiler version 5.01.0164 */
/* at Tue Nov 04 18:53:53 2003
 */
/* Compiler settings for E:\Source\src\MouseGestures\MouseGestures.idl:
    Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
    error checks: allocation ref bounds_check enum stub_data 
*/
//@@MIDL_FILE_HEADING(  )


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__

#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __MouseGestures_h__
#define __MouseGestures_h__

#ifdef __cplusplus
extern "C"{
#endif 

/* Forward Declarations */ 

#ifndef __BrowserHelperObject_FWD_DEFINED__
#define __BrowserHelperObject_FWD_DEFINED__

#ifdef __cplusplus
typedef class BrowserHelperObject BrowserHelperObject;
#else
typedef struct BrowserHelperObject BrowserHelperObject;
#endif /* __cplusplus */

#endif 	/* __BrowserHelperObject_FWD_DEFINED__ */


#ifndef __MouseGesturesCfg_FWD_DEFINED__
#define __MouseGesturesCfg_FWD_DEFINED__

#ifdef __cplusplus
typedef class MouseGesturesCfg MouseGesturesCfg;
#else
typedef struct MouseGesturesCfg MouseGesturesCfg;
#endif /* __cplusplus */

#endif 	/* __MouseGesturesCfg_FWD_DEFINED__ */


#ifndef __IBrowserHelperObject_FWD_DEFINED__
#define __IBrowserHelperObject_FWD_DEFINED__
typedef interface IBrowserHelperObject IBrowserHelperObject;
#endif 	/* __IBrowserHelperObject_FWD_DEFINED__ */


#ifndef __IMouseGesturesCfg_FWD_DEFINED__
#define __IMouseGesturesCfg_FWD_DEFINED__
typedef interface IMouseGesturesCfg IMouseGesturesCfg;
#endif 	/* __IMouseGesturesCfg_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"

void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 


#ifndef __MOUSEGESTURESLib_LIBRARY_DEFINED__
#define __MOUSEGESTURESLib_LIBRARY_DEFINED__

/* library MOUSEGESTURESLib */
/* [helpstring][version][uuid] */ 


EXTERN_C const IID LIBID_MOUSEGESTURESLib;

EXTERN_C const CLSID CLSID_BrowserHelperObject;

#ifdef __cplusplus

class DECLSPEC_UUID("A6A49249-57AE-4295-8D4D-18A9502C7D8E")
BrowserHelperObject;
#endif

EXTERN_C const CLSID CLSID_MouseGesturesCfg;

#ifdef __cplusplus

class DECLSPEC_UUID("42981F9D-0C9E-4131-BFC7-8FFE874C6AAC")
MouseGesturesCfg;
#endif
#endif /* __MOUSEGESTURESLib_LIBRARY_DEFINED__ */

#ifndef __IBrowserHelperObject_INTERFACE_DEFINED__
#define __IBrowserHelperObject_INTERFACE_DEFINED__

/* interface IBrowserHelperObject */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_IBrowserHelperObject;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("8431F9B2-CD79-4D29-9F5D-47AD00D00DC7")
    IBrowserHelperObject : public IDispatch
    {
    public:
    };
    
#else 	/* C style interface */

    typedef struct IBrowserHelperObjectVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
            IBrowserHelperObject __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
            IBrowserHelperObject __RPC_FAR * This);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
            IBrowserHelperObject __RPC_FAR * This);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
            IBrowserHelperObject __RPC_FAR * This,
            /* [out] */ UINT __RPC_FAR *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
            IBrowserHelperObject __RPC_FAR * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
            IBrowserHelperObject __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
            IBrowserHelperObject __RPC_FAR * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
            /* [out] */ VARIANT __RPC_FAR *pVarResult,
            /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
            /* [out] */ UINT __RPC_FAR *puArgErr);
        
        END_INTERFACE
    } IBrowserHelperObjectVtbl;

    interface IBrowserHelperObject
    {
        CONST_VTBL struct IBrowserHelperObjectVtbl __RPC_FAR *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IBrowserHelperObject_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define IBrowserHelperObject_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define IBrowserHelperObject_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define IBrowserHelperObject_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define IBrowserHelperObject_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define IBrowserHelperObject_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define IBrowserHelperObject_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __IBrowserHelperObject_INTERFACE_DEFINED__ */


#ifndef __IMouseGesturesCfg_INTERFACE_DEFINED__
#define __IMouseGesturesCfg_INTERFACE_DEFINED__

/* interface IMouseGesturesCfg */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_IMouseGesturesCfg;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("EE9C2CFA-04EB-4892-83F9-5BA01B7AB415")
    IMouseGesturesCfg : public IDispatch
    {
    public:
    };
    
#else 	/* C style interface */

    typedef struct IMouseGesturesCfgVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
            IMouseGesturesCfg __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
            IMouseGesturesCfg __RPC_FAR * This);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
            IMouseGesturesCfg __RPC_FAR * This);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
            IMouseGesturesCfg __RPC_FAR * This,
            /* [out] */ UINT __RPC_FAR *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
            IMouseGesturesCfg __RPC_FAR * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
            IMouseGesturesCfg __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
            IMouseGesturesCfg __RPC_FAR * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
            /* [out] */ VARIANT __RPC_FAR *pVarResult,
            /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
            /* [out] */ UINT __RPC_FAR *puArgErr);
        
        END_INTERFACE
    } IMouseGesturesCfgVtbl;

    interface IMouseGesturesCfg
    {
        CONST_VTBL struct IMouseGesturesCfgVtbl __RPC_FAR *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IMouseGesturesCfg_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define IMouseGesturesCfg_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define IMouseGesturesCfg_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define IMouseGesturesCfg_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define IMouseGesturesCfg_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define IMouseGesturesCfg_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define IMouseGesturesCfg_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __IMouseGesturesCfg_INTERFACE_DEFINED__ */


/* Additional Prototypes for ALL interfaces */

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif

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

Share

About the Author

Ralph Hare
Web Developer
United Kingdom United Kingdom
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.170915.1 | Last Updated 21 Sep 2005
Article Copyright 2003 by Ralph Hare
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid