-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 2.5.0.0: introduce group clicking app
- Loading branch information
1 parent
d1eba8a
commit 4fdd830
Showing
15 changed files
with
1,753 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
// AutoClicker.cpp : Defines the class behaviors for the application. | ||
// | ||
|
||
#include "stdafx.h" | ||
#include "AutoClicker.h" | ||
#include "AutoClickerDlg.h" | ||
|
||
#ifdef _DEBUG | ||
#define new DEBUG_NEW | ||
#undef THIS_FILE | ||
static char THIS_FILE[] = __FILE__; | ||
#endif | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// CAutoClickerApp | ||
|
||
BEGIN_MESSAGE_MAP(CAutoClickerApp, CWinApp) | ||
//{{AFX_MSG_MAP(CAutoClickerApp) | ||
// NOTE - the ClassWizard will add and remove mapping macros here. | ||
// DO NOT EDIT what you see in these blocks of generated code! | ||
//}}AFX_MSG | ||
ON_COMMAND(ID_HELP, CWinApp::OnHelp) | ||
END_MESSAGE_MAP() | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// CAutoClickerApp construction | ||
|
||
CAutoClickerApp::CAutoClickerApp() | ||
{ | ||
// TODO: add construction code here, | ||
// Place all significant initialization in InitInstance | ||
} | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// The one and only CAutoClickerApp object | ||
|
||
CAutoClickerApp theApp; | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// CAutoClickerApp initialization | ||
|
||
BOOL CAutoClickerApp::InitInstance() | ||
{ | ||
// Standard initialization | ||
// If you are not using these features and wish to reduce the size | ||
// of your final executable, you should remove from the following | ||
// the specific initialization routines you do not need. | ||
|
||
#ifdef _AFXDLL | ||
Enable3dControls(); // Call this when using MFC in a shared DLL | ||
#else | ||
// Enable3dControlsStatic(); // Call this when linking to MFC statically | ||
#endif | ||
|
||
CAutoClickerDlg dlg; | ||
m_pMainWnd = &dlg; | ||
int nResponse = dlg.DoModal(); | ||
if (nResponse == IDOK) | ||
{ | ||
// TODO: Place code here to handle when the dialog is | ||
// dismissed with OK | ||
} | ||
else if (nResponse == IDCANCEL) | ||
{ | ||
// TODO: Place code here to handle when the dialog is | ||
// dismissed with Cancel | ||
} | ||
|
||
// Since the dialog has been closed, return FALSE so that we exit the | ||
// application, rather than start the application's message pump. | ||
return FALSE; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// AutoClicker.h : main header file for the AUTOCLICKER application | ||
// | ||
|
||
#if !defined(AFX_AUTOCLICKER_H__0A4628F7_16F9_473A_B9F4_F57DE4767012__INCLUDED_) | ||
#define AFX_AUTOCLICKER_H__0A4628F7_16F9_473A_B9F4_F57DE4767012__INCLUDED_ | ||
|
||
#if _MSC_VER > 1000 | ||
#pragma once | ||
#endif // _MSC_VER > 1000 | ||
|
||
#ifndef __AFXWIN_H__ | ||
#error include 'stdafx.h' before including this file for PCH | ||
#endif | ||
|
||
#include "resource.h" // main symbols | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// CAutoClickerApp: | ||
// See AutoClicker.cpp for the implementation of this class | ||
// | ||
|
||
class CAutoClickerApp : public CWinApp | ||
{ | ||
public: | ||
CAutoClickerApp(); | ||
|
||
// Overrides | ||
// ClassWizard generated virtual function overrides | ||
//{{AFX_VIRTUAL(CAutoClickerApp) | ||
public: | ||
virtual BOOL InitInstance(); | ||
//}}AFX_VIRTUAL | ||
|
||
// Implementation | ||
|
||
//{{AFX_MSG(CAutoClickerApp) | ||
// NOTE - the ClassWizard will add and remove member functions here. | ||
// DO NOT EDIT what you see in these blocks of generated code ! | ||
//}}AFX_MSG | ||
DECLARE_MESSAGE_MAP() | ||
}; | ||
|
||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
|
||
//{{AFX_INSERT_LOCATION}} | ||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. | ||
|
||
#endif // !defined(AFX_AUTOCLICKER_H__0A4628F7_16F9_473A_B9F4_F57DE4767012__INCLUDED_) |
Oops, something went wrong.