连点器2.0测试版!一秒4000下新版4/1缩小界面!!

以前我在博客发了我的连点器1.0,其实准确的版本号是L4.66.88

现在!我隆重推出连点器2.0界面空间减小3.5倍!

连点器2.0测试版!一秒4000下新版4/1缩小界面!!_第1张图片

先上代码!

#include 
#include 
#define KEY_DOWN(VK_NONAME) ((GetAsyncKeyState(VK_NONAME) & 0x8000) ? 1:0) 
using namespace std;
void L_Down() {INPUT  Input = { '0 '};Input.type = INPUT_MOUSE;Input.mi.dwFlags = MOUSEEVENTF_LEFTDOWN;SendInput(1, &Input, sizeof(INPUT));}
void L_Up() {INPUT  Input = {' 0 '};Input.type = INPUT_MOUSE;Input.mi.dwFlags = MOUSEEVENTF_LEFTUP;SendInput(1, &Input, sizeof(INPUT));}
void R_Down() {INPUT  Input = { '0' };Input.type = INPUT_MOUSE;Input.mi.dwFlags = MOUSEEVENTF_RIGHTDOWN;SendInput(1, &Input, sizeof(INPUT));}
void R_Up() {INPUT  Input = { '0' };Input.type = INPUT_MOUSE;Input.mi.dwFlags = MOUSEEVENTF_RIGHTUP;SendInput(1, &Input, sizeof(INPUT));}
/* This is where all the input to the window goes to */
int num=0;
int sleeptime;//sleeptime[timesllllser] = 1;timesllllser++;
int timesllllser=0;
int sdjsdjsdksjdkjskdj=0;
int sdsjdsdsdsdstime =0;
int dingwei=0;
int dingweitime=0;
int fangfeng=0;
int fangfengtime=0;
int ret118=1;
int jinggouccff=0;
int dingweiok=0;
HWND h1,h2,h3,h4,h5,h6,h7,h8,h9,h11,h12,h13,h14,h15,h16,h17,h18,h19,h20,h100,h200,h111,h112,h113,h114,h115,h116,h117,h118,h119,h120,h1201,h11101,h11102,h11103,h11104,h11105,h333,hx1,hx2,hx,hb,h,b1,b2,b3;
HINSTANCE hInst;
LRESULT CALLBACK WndProc(HWND hwnd,UINT Message,WPARAM wParam,LPARAM lParam){
    switch(Message){
        case WM_CREATE:{
            h1=CreateWindow("button","左键高速",WS_CHILD|WS_VISIBLE,
                            0,0,100,50,hwnd,(HMENU)1,hInst,NULL);
            h2=CreateWindow("button","右键高速",WS_CHILD|WS_VISIBLE,
                            100,0,100,50,hwnd,(HMENU)2,hInst,NULL);
            h3=CreateWindow("button","左键低速",WS_CHILD|WS_VISIBLE,
                            200,0,100,50,hwnd,(HMENU)3,hInst,NULL);
            h4=CreateWindow("button","右键低速",WS_CHILD|WS_VISIBLE,
                            0,50,100,50,hwnd,(HMENU)4,hInst,NULL);
            h5=CreateWindow("button","左键自定",WS_CHILD|WS_VISIBLE,
                            100,50,100,50,hwnd,(HMENU)5,hInst,NULL);
            h6=CreateWindow("button","右键自定",WS_CHILD|WS_VISIBLE,
                            200,50,100,50,hwnd,(HMENU)6,hInst,NULL);
            h7=CreateWindow("button","开始连点",WS_CHILD|WS_VISIBLE,
                            300,0,100,100,hwnd,(HMENU)7,hInst,NULL);
            h8=CreateWindow("button","结束连点",WS_CHILD|WS_VISIBLE,
                            400,0,100,100,hwnd,(HMENU)8,hInst,NULL);
            h11=CreateWindow("button","+1",WS_CHILD|WS_VISIBLE,
                            0,150,50,50,hwnd,(HMENU)11,hInst,NULL);    
            h12=CreateWindow("button","+2",WS_CHILD|WS_VISIBLE,
                            50,150,50,50,hwnd,(HMENU)12,hInst,NULL);                            
            h13=CreateWindow("button","+3",WS_CHILD|WS_VISIBLE,
                             100,150,50,50,hwnd,(HMENU)13,hInst,NULL);            
            h14=CreateWindow("button","+4",WS_CHILD|WS_VISIBLE,
                            150,150,50,50,hwnd,(HMENU)14,hInst,NULL);
            h15=CreateWindow("button","+5",WS_CHILD|WS_VISIBLE,
                            200,150,50,50,hwnd,(HMENU)15,hInst,NULL);                        
            h16=CreateWindow("button","+6",WS_CHILD|WS_VISIBLE,
                            250,150,50,50,hwnd,(HMENU)16,hInst,NULL);
            h17=CreateWindow("button","+7",WS_CHILD|WS_VISIBLE,
                            300,150,50,50,hwnd,(HMENU)17,hInst,NULL);    
            h18=CreateWindow("button","+8",WS_CHILD|WS_VISIBLE,
                            350,150,50,50,hwnd,(HMENU)18,hInst,NULL);    
            h19=CreateWindow("button","+9",WS_CHILD|WS_VISIBLE,
                            400,150,50,50,hwnd,(HMENU)19,hInst,NULL);    
            h200=CreateWindow("button","NO",WS_CHILD|WS_VISIBLE,
                            450,150,50,50,hwnd,(HMENU)200,hInst,NULL);
            b1=CreateWindow("button",">>>",WS_CHILD|WS_VISIBLE,
                        250,100,100,50,hwnd,(HMENU)11881,hInst,NULL);
            b2=CreateWindow("button","OK",WS_CHILD|WS_VISIBLE,
                        150,100,100,50,hwnd,(HMENU)11882,hInst,NULL);    
            h11103=CreateWindow("button","定位连点开/关",WS_CHILD|WS_VISIBLE,
                        350,100,150,50,hwnd,(HMENU)999,hInst,NULL);        
            h119=CreateWindow("button","你选的连点方式:无",WS_CHILD|WS_VISIBLE,
                        0,100,150,50,hwnd,(HMENU)0,hInst,NULL);        
                                                                                                                                                        
            break;
        }
        case WM_COMMAND:{
            switch(wParam){
                case 999:{
                        if(jinggouccff==0){
                                        h11103=CreateWindow("button","定位连点开/关",WS_CHILD|WS_VISIBLE,
                                                                                                        350,100,150,50,hwnd,(HMENU)999,hInst,NULL);            
                                        }
                                        else if(jinggouccff==1){
                                                h11103=CreateWindow("button","防查封开/关",WS_CHILD|WS_VISIBLE,
                                                                                                350,100,150,50,hwnd,(HMENU)999,hInst,NULL);        
                                        
                                        }
                                        else if(jinggouccff==2){
                                        
                                                h11103=CreateWindow("button","防封设置间隔",WS_CHILD|WS_VISIBLE,
                                                                                                                                            350,100,150,50,hwnd,(HMENU)999,hInst,NULL);    
                                        }
                                            break;
                }
                case 11881:{
                    if(jinggouccff==0){
                        jinggouccff=1;
                            h11103=CreateWindow("button","防查封开/关",WS_CHILD|WS_VISIBLE,
                                            350,100,150,50,hwnd,(HMENU)999,hInst,NULL);                    
                    }
                    else if(jinggouccff==1){
                        jinggouccff=2;    
                        h11103=CreateWindow("button","防封设置间隔",WS_CHILD|WS_VISIBLE,
                                                                        350,100,150,50,hwnd,(HMENU)999,hInst,NULL);        
                    }
                    else if(jinggouccff==2){
                        jinggouccff=0;
                            h11103=CreateWindow("button","定位连点开/关",WS_CHILD|WS_VISIBLE,
                                            350,100,150,50,hwnd,(HMENU)999,hInst,NULL);            
                    }
                        break;
                    }
                    case 11882:{
                        if(jinggouccff==0){
                            if(fangfeng==0){
                       if(dingwei==1){
                           dingwei=0;
                           MessageBox(GetForegroundWindow(),"已关闭","c++",0);
                       }
                       else{
                           dingwei=1;
                           MessageBox(GetForegroundWindow(),"已开启","c++",0);
                       }
                            }
                            else{
                                    MessageBox(GetForegroundWindow(),"请先关闭防封","c++",0);
                            }
                        }
                    
                        else if(jinggouccff==1){
                           if(dingwei==0){
                               if(fangfeng==0){
                                  fangfeng=1;
                                      MessageBox(GetForegroundWindow(),"已开启1","c++",0);
                               }
                          else{
                                    fangfeng=0;
                                        MessageBox(GetForegroundWindow(),"已关闭1","c++",0);
                          }
                           }
                           else{
                                    MessageBox(GetForegroundWindow(),"请先关闭定位,然后设置低速","c++",0);
                           }
                        }
                        else if(jinggouccff==2){
                            int x=MessageBox(GetForegroundWindow(),"间隔大-点击是,间隔中-点击否,间隔小-点击取消","c++",3);
                            cout< 0) { /* If no error is received... */
        TranslateMessage(&msg); /* Translate key codes to chars if present */
        DispatchMessage(&msg); /* Send it to WndProc */
    }
    return msg.wParam;
}

这就是2.0了看一下效果!

你可能感兴趣的:(c++)