Thread: Change Cursor

Results 1 to 1 of 1
  1. #1
    gusdnide's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    287
    Reputation
    15
    Thanks
    1,847
    My Mood
    Amazed

    Change Cursor

    MSDN: https://msdn.microsof*****m/en-us/lib...(v=vs.85).aspx
    Code:
    HCURSOR hCURSOR = LoadCursor(INSTANCE, CURSOR); 
    Ex: HCURSOR hCURSOR = LoadCursor(NULL, IDC_WAIT);  // Wait (https://prntscr.com/8lzpqd)
    Example:
    Code:
    void MudarCursor(int i)
    {
    		HCURSOR hCurs1 = LoadCursor(NULL, IDC_HAND); //Hand (https://prntscr.com/8lzpuw)
    		HCURSOR hCurs2 = LoadCursor(NULL, IDC_ARROW); //Arr (https://prntscr.com/8lzpzy)
    		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. The Following User Says Thank You to gusdnide For This Useful Post:

    THE MOB (09-30-2015)

Similar Threads

  1. [Tutorial] Change your IP to unban yourself
    By Super-Man in forum Game Hacking Tutorials
    Replies: 3
    Last Post: 10-13-2019, 03:33 AM
  2. [Help] How can i change the apb aim cursor
    By gul in forum All Points Bulletin Reloaded Hacks
    Replies: 9
    Last Post: 02-14-2012, 07:58 PM
  3. Change nickname plz
    By ateu666 in forum WarRock - International Hacks
    Replies: 4
    Last Post: 07-10-2006, 06:59 AM
  4. list of weapon packets changed...
    By LuKan in forum WarRock - International Hacks
    Replies: 10
    Last Post: 02-09-2006, 05:19 AM
  5. [Tutorial]Change class without respawn
    By vir2000 in forum Game Hacking Tutorials
    Replies: 0
    Last Post: 01-04-2006, 01:47 PM