Jump to content



Recommended Posts

Odds are you are getting flicker because the game is trying to be on-top, but your cross-hair is interfering.

Try something like this:

#include <GUIConstants.au3>

Global $size = 20
Global $Left = MouseGetPos (0) - $size / 2
Global $Top = MouseGetPos (1) - $size / 2

$MouseShadow = GUICreate ("Click Through Me", $size, $size, $Left, $Top, $WS_POPUP, _
Global $label = GUICtrlCreateLabel("", 0, 0, $size, $size)
WinSetTrans ($MouseShadow, "", 190)
GUISetBkColor(0xFF0000, $MouseShadow)
GUISetState ()

While 1
    $WinPos = WinGetPos ($MouseShadow)
    WinMove ($MouseShadow, "", MouseGetPos (0) - $size/2-5, MouseGetPos (1) - $size/2-5)
Edited by Paulie
Link to comment
Share on other sites

  • 6 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...