Skip to content

Commit

Permalink
New version 2.6.1.1 devoted to the project's 8th anniversary has been…
Browse files Browse the repository at this point in the history
… released
  • Loading branch information
windows-2048 committed Jul 22, 2024
1 parent 9d2aaeb commit b993a51
Show file tree
Hide file tree
Showing 6 changed files with 197 additions and 29 deletions.
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The Fastest Mouse Clicker for Windows

> Updated: Jul 11 2024. Brand new Windows 11 22H2 screenshots have been added. Spanish localization of the site is [READY](https://windows-2048.github.io/The-Fastest-Mouse-Clicker-for-Windows/) | La localización en español del sitio está [LISTO](https://windows-2048.github.io/es/El-Clicker-de-Raton-Mas-Rapido-para-Windows/).
> Updated: Jul 22 2024. Brand new Windows 11 22H2 screenshots have been added. Spanish localization of the site is [READY](https://windows-2048.github.io/The-Fastest-Mouse-Clicker-for-Windows/) | La localización en español del sitio está [LISTO](https://windows-2048.github.io/es/El-Clicker-de-Raton-Mas-Rapido-para-Windows/).
New trailer developer's screenshot for The Fastest Mouse Clicker v3.0.0.0 has been added (see below).
What do our partners [tell](https://windows-2048.github.io/The-Fastest-Mouse-Clicker-for-Windows/index.html#Partners) about the famous software tool.

Expand All @@ -10,9 +10,25 @@ What do our partners [tell](https://windows-2048.github.io/The-Fastest-Mouse-Cli

### 2024 is the project's 8th anniversary

In 2024, my flagship project celebrates the 8th anniversary! You can download and install
the anniversary re-release
at [GitHub](https://github.com/windows-2048/The-Fastest-Mouse-Clicker-for-Windows/releases/tag/2.6.1.0-8th-anniversary).
In 2024, my flagship project celebrates the 8th anniversary!

NEW VERSION 2.6.1.1 INCORPORATES LONG AWAITED COLORED MOUSE POSITION GUI FIELDS AND SMALL BUG FIXES.

You can download and install
the NEW VERSION 2.6.1.1 devoted to the anniversary
at [GitHub](https://github.com/windows-2048/The-Fastest-Mouse-Clicker-for-Windows/releases/tag/v2.6.1.1).

### Some screenshots from a new version 2.6.1.1

* The Fastest Mouse Clicker for Windows version 2.6.1.1.

![The Fastest Mouse Clicker for Windows version 2.6.1.1](screenshots_new/v2.6.1.1/tfmcfw_singleapp_v2.6.1.1.png?raw=true)

* The Fastest Mouse Clicker for Windows version 2.6.1.1 (group application).

![The Fastest Mouse Clicker for Windows version 2.6.1.1 (group application)](screenshots_new/v2.6.1.1/tfmcfw_groupapp_v2.6.1.1.png?raw=true)

### Some screenshots from a previous version 2.6.1.0

The Fastest Mouse Clicker for Windows version 2.6.1.0 - Main app with batch folder that reveals "secret" features.

Expand Down
71 changes: 63 additions & 8 deletions TheFastestMouseGroupClicker/AutoClickerDlg.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**************************************************************************
* The Fastest Mouse Group Clicker for Windows version 2.6.1.0
* The Fastest Mouse Group Clicker for Windows version 2.6.1.1
* Copyright (c) 2016-2020 by Open Source Developer Masha Novedad
* Released under GNU Public License GPLv3
**************************************************************************/
Expand All @@ -17,13 +17,15 @@ static char THIS_FILE[] = __FILE__;
#define WM_KEY_ESCAPE (WM_USER+1)
#define WM_KEY_SPACE (WM_USER+3)
#define WM_KEY_F3 (WM_USER+5)
#define WM_GMOUSE_MOVE (WM_USER+15)
#define WM_KEY_DELETE (WM_USER+7)
#define WM_KEY_RETURN_DOWN (WM_USER+9)
#define WM_KEY_RETURN_UP (WM_USER+11)
/////////////////////////////////////////////////////////////////////////////
// CAboutDlg dialog used for App About
HHOOK hHook=NULL;
CString strProgName="The Fastest Mouse Group Clicker v2.6.1.0";
HHOOK hHook = NULL;
HHOOK hHook2 = NULL;
CString strProgName="The Fastest Mouse Group Clicker v2.6.1.1";
class CAboutDlg : public CDialog
{
public:
Expand Down Expand Up @@ -168,6 +170,8 @@ BEGIN_MESSAGE_MAP(CAutoClickerDlg, CDialog)
ON_MESSAGE(WM_KEY_ESCAPE,OnKeyEscape)
ON_MESSAGE(WM_KEY_SPACE, OnKeySpace)
ON_MESSAGE(WM_KEY_F3, OnKeyF3)
ON_MESSAGE(WM_GMOUSE_MOVE, OnGMouseMove)
ON_WM_CTLCOLOR()
ON_MESSAGE(WM_KEY_DELETE, OnKeyDelete)
ON_MESSAGE(WM_KEY_RETURN_DOWN, OnKeyReturnDown)
ON_MESSAGE(WM_KEY_RETURN_UP, OnKeyReturnUp)
Expand Down Expand Up @@ -227,6 +231,23 @@ LRESULT CALLBACK HookMouseProc(int nCode, WPARAM wParam, LPARAM lParam)
return CallNextHookEx( hHook, nCode, wParam, lParam);
}

LRESULT CALLBACK HookMouseProc2(int nCode, WPARAM wParam, LPARAM lParam)
{
if (g_hwnd == NULL)
g_hwnd = ::FindWindow(NULL, strProgName);

LRESULT lResult = 0;

if (nCode == HC_ACTION)
{
if (wParam == WM_MOUSEMOVE)
{
::SendMessage(g_hwnd, WM_GMOUSE_MOVE, 1, 1);
}
}

return CallNextHookEx(hHook2, nCode, wParam, lParam);
}

BOOL CAutoClickerDlg::OnInitDialog()
{
Expand Down Expand Up @@ -274,6 +295,10 @@ BOOL CAutoClickerDlg::OnInitDialog()

//Starting Hooking...
hHook = SetWindowsHookEx(WH_KEYBOARD_LL, (HOOKPROC)::HookMouseProc, GetModuleHandle(NULL), 0);
hHook2 = SetWindowsHookEx(WH_MOUSE_LL, (HOOKPROC)::HookMouseProc2, GetModuleHandle(NULL), 0);
OnGMouseMove(0, 0);
SetTimer(3, 500, NULL);
m_brBack.CreateSolidBrush(RGB(0xcc, 0xff, 0x99));

GetDlgItem(IDOK)->EnableWindow(FALSE);
GetDlgItem(IDC_SAVE_BTN)->EnableWindow(FALSE);
Expand Down Expand Up @@ -423,7 +448,7 @@ void CAutoClickerDlg::OnTimer(UINT nIDEvent)
m_tEnd = CTime::GetCurrentTime();
m_tsSpan = m_tEnd - m_tStart;

if(nIDEvent==1)
if(nIDEvent == 1)
{
UpdateData(TRUE);
m_nCurPos--;
Expand All @@ -450,7 +475,7 @@ void CAutoClickerDlg::OnTimer(UINT nIDEvent)

UpdateData(FALSE);
}
else if(nIDEvent==2)
else if(nIDEvent == 2)
{
//Keeping clicking automatically
UpdateData(TRUE);
Expand All @@ -474,6 +499,10 @@ void CAutoClickerDlg::OnTimer(UINT nIDEvent)

UpdateData(FALSE);
}
else if (nIDEvent == 3)
{
OnGMouseMove(0, 0);
}


CDialog::OnTimer(nIDEvent);
Expand Down Expand Up @@ -547,7 +576,7 @@ long CAutoClickerDlg::OnKeyF3(WPARAM wParam, LPARAM lParam)

UpdateData(TRUE);

if (m_nListIdx < 1000)
if (m_nListIdx < T1000)
{
GetCursorPos(&point);
m_nX = point.x;
Expand All @@ -572,6 +601,32 @@ long CAutoClickerDlg::OnKeyF3(WPARAM wParam, LPARAM lParam)
return 1;
}

long CAutoClickerDlg::OnGMouseMove(WPARAM wParam, LPARAM lParam)
{
UpdateData(TRUE);
CPoint point2;
if (m_nListIdx < T1000)
{
GetCursorPos(&point2);
m_nX = point2.x;
m_nY = point2.y;
}

UpdateData(FALSE);

return 1;
}

HBRUSH CAutoClickerDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);
if ((pWnd->GetDlgCtrlID() == IDC_X_EDT) || (pWnd->GetDlgCtrlID() == IDC_Y_EDT))
{
pDC->SetBkColor(RGB(0xcc, 0xff, 0x99));
hbr = m_brBack;
}
return hbr;
}

long CAutoClickerDlg::OnKeyDelete(WPARAM wParam, LPARAM lParam)
{
Expand Down Expand Up @@ -687,7 +742,7 @@ void CAutoClickerDlg::OnFileLoad()
m_nCount = 0;
m_nListIdx = 0;

for(int i = 0; i < 1000; i++)
for(int i = 0; i < T1000; i++)
{
if (xyList[i].x > 0 && xyList[i].y > 0)
{
Expand Down Expand Up @@ -803,7 +858,7 @@ void CAutoClickerDlg::OnRandomizeList()

CString strList;

for (int i = 0; i < 1000; ++i)
for (int i = 0; i < T1000; ++i)
{
xyList[i].x = tclMin.x + int(gen1() % (tclMax.x + 1 - tclMin.x));
xyList[i].y = tclMin.y + int(gen2() % (tclMax.y + 1 - tclMin.y));
Expand Down
7 changes: 6 additions & 1 deletion TheFastestMouseGroupClicker/AutoClickerDlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
/////////////////////////////////////////////////////////////////////////////
// CAutoClickerDlg dialog

#define T1000 100000

class CAutoClickerDlg : public CDialog
{
// Construction
Expand All @@ -21,6 +23,8 @@ class CAutoClickerDlg : public CDialog
void OnPause();
long OnKeySpace(WPARAM wParam, LPARAM lParam);
long OnKeyF3(WPARAM wParam, LPARAM lParam);
long OnGMouseMove(WPARAM wParam, LPARAM lParam);
HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
long OnKeyDelete(WPARAM wParam, LPARAM lParam);
long OnKeyReturnDown(WPARAM wParam, LPARAM lParam);
long OnKeyReturnUp(WPARAM wParam, LPARAM lParam);
Expand All @@ -35,7 +39,7 @@ class CAutoClickerDlg : public CDialog
{
return (x == that.x) && (y == that.y);
}
} xyList[1000];
} xyList[T1000];

private:
// Dialog Data
Expand Down Expand Up @@ -71,6 +75,7 @@ class CAutoClickerDlg : public CDialog
CTime m_tStart;
CTime m_tEnd;
CTimeSpan m_tsSpan;
CBrush m_brBack;

// Generated message map functions
//{{AFX_MSG(CAutoClickerDlg)
Expand Down
Loading

0 comments on commit b993a51

Please sign in to comment.