Click here to Skip to main content
15,884,298 members
Articles / Programming Languages / C++

Middle Mouse Button (or Wheel) to Doubleclick (VC6)

Rate me:
Please Sign up or sign in to vote.
4.67/5 (17 votes)
26 Jul 2010CPOL2 min read 83.8K   2K   34  
This is a small but handy tool I'm using every day. It converts a middle mouse button click in to a left mouse button double click.
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by MBtn2DblClick.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_HOOK_DIALOG                 102
#define IDC_CAPTURED                    104
#define IDC_FLEEING                     105
#define IDR_MAINFRAME                   128
#define IDR_MOUSEOFF                    129
#define IDD_HELP                        130
#define IDR_MNUPOPUP                    132
#define IDC_XY                          1000
#define IDC_ENABLE                      1001
#define IDC_ENABLE2                     1002
#define IDC_CONFIRM                     1002
#define IDC_RUN                         1003
#define IDC_HELPME                      1004
#define IDC_STATUS                      1005
#define IDC_EDIT1                       1006
#define IDC_EXIT                        1007
#define IDC_CLOSE                       1008
#define IDC_STATEIMAGE                  1009
#define ID_POPUP_SHOWCONFIG             32771
#define IDC_POPUP_ENABLEDBLCLK          32772
#define ID_POPUP_EXITAPPLICATION        32773

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        134
#define _APS_NEXT_COMMAND_VALUE         32774
#define _APS_NEXT_CONTROL_VALUE         1010
#define _APS_NEXT_SYMED_VALUE           101
#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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Switzerland Switzerland
programmer and software junkie since 1991 zurich switzerland

Comments and Discussions