1. Hi, Guest,

    Currently we have three official hacks running. CSGO, Battlefield Hardline and Audition America. Be sure to check them out!

    CSGO - "50 Shades of Gaben" - CSGO Cheat

    Battlefield Hardline Cheat - FREE

    Audition Redbana Hack [ARH Modz]

    More to Come!
    Dismiss Notice
Dismiss Notice
CSGO VIP Cheats now available!! Click here to get a copy!
Dismiss Notice
Want to Shorten Your Long URL? Check out our sister website Tiniurl to solve your needs!

[SOURCE CODE] Change Cursor

Discussion in 'C/C++' started by Mr.iLLEGAL, Oct 2, 2015.

  1. Mr.iLLEGAL

    Mr.iLLEGAL

    Messages:
    203
    Likes Received:
    5
    Joined:
    Feb 11, 2015
    MSDN: https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx
    Code:
    Code:
    HCURSOR hCURSOR = LoadCursor(INSTANCE, CURSOR); 
    Ex: HCURSOR hCURSOR = LoadCursor(NULL, IDC_WAIT);  // Wait ([URL]http://prntscr.com/8lzpqd[/URL])

    Example:
    Code:
    Code:
    void MudarCursor(int i)
    {
            HCURSOR hCurs1 = LoadCursor(NULL, IDC_HAND); //Hand ([URL]http://prntscr.com/8lzpuw[/URL])
            HCURSOR hCurs2 = LoadCursor(NULL, IDC_ARROW); //Arr ([URL]http://prntscr.com/8lzpzy[/URL])
            if(i == 1)SetCursor(hCurs1);
            else SetCursor(hCurs2);
    }
    void AddButton() // Example
    {
              DrawRect(1, 1, 200,200, Color.Red);
              if(VerificarMouse(1,1,200,200) = true)
                  MudarCursor(1)
    }

    Effect Click in Button (I use for Menus D3D )
     
  2. Unholny

    Unholny

    Messages:
    16
    Likes Received:
    0
    Joined:
    Feb 7, 2016
    Yeah, it looks good but there is a lot more optimized and faster version nowadays.
     

Share This Page