FireFox Posted January 24, 2009 Share Posted January 24, 2009 (edited) Hello,I want to post my crosshair example because many people asked for it Hotkeys :Ctrl + F12 = Show/Hide cursorCtrl + F5 = Stop crosshairCtrl + F4 = Start crosshairAttachments :Crosshair : Crosshair.au3IsPressed_UDF : v2.0Simple Crosshair v2 based on a GUI :#include <WindowsConstants.au3> #include <GUIConstantsEx.au3> #include <Constants.au3> #include <WinAPI.au3> Local $iSize = 21 #region GUI $hGUIMain = GUICreate("") $hGUIChild = GUICreate("", $iSize, $iSize, -1, -1, $WS_POPUP, BitOR($WS_EX_TOPMOST, $WS_EX_LAYERED, $WS_EX_TRANSPARENT), $hGUIMain) GUISetBkColor($COLOR_BLACK) GUICtrlCreateLabel("", 0, Int($iSize / 2), $iSize, 1) GUICtrlSetBkColor(-1, $COLOR_BLUE) GUICtrlCreateLabel("", Int($iSize / 2), 0, 1, $iSize) GUICtrlSetBkColor(-1, $COLOR_BLUE) _WinAPI_SetLayeredWindowAttributes($hGUIChild, $COLOR_BLACK) GUISetState(@SW_SHOWNOACTIVATE, $hGUIChild) #endregion While 1 Sleep(10) _WinAPI_SetWindowPos($hGUIChild, $HWND_TOPMOST, 0, 0, 0, 0, BitOR($SWP_NOACTIVATE, $SWP_NOMOVE, $SWP_NOSIZE, $SWP_NOSENDCHANGING)) WEndEnjoy ! Cheers, FireFox. Edited August 1, 2013 by FireFox Link to comment Share on other sites More sharing options...
Achilles Posted January 24, 2009 Share Posted January 24, 2009 (edited) Could you zip it with the IsPressed udf? So lazy people like me don't have to go make another au3 file out of it.. Edited January 24, 2009 by Ichigo My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
FireFox Posted January 24, 2009 Author Share Posted January 24, 2009 (edited) @Ichigo Added link of IsPressed_UDF... I think its not an obligation because the udf is in my signature Cheers, FireFox. Edited August 29, 2013 by FireFox Link to comment Share on other sites More sharing options...
dgarrett8 Posted January 24, 2009 Share Posted January 24, 2009 Man, this is a nice fancy prog "I think, therefore I am"[size="1"]René Descartes[/size] Link to comment Share on other sites More sharing options...
FireFox Posted January 25, 2009 Author Share Posted January 25, 2009 @dgarrett8 Thanks Im waiting for a better way to write one time pixel on screen and it stay without have to rewrite them... Cheers, FireFox. Link to comment Share on other sites More sharing options...
WhOOt Posted January 25, 2009 Share Posted January 25, 2009 @dgarrett8Thanks Im waiting for a better way to write one time pixel on screen and it stay without have to rewrite them...Cheers, FireFox.you would have to use some directx api hooking, to make it work without flicker in fullscreen games.. Link to comment Share on other sites More sharing options...
FireFox Posted January 25, 2009 Author Share Posted January 25, 2009 @whOOt Can you post interessant links or examples? Cheers, FireFox. Link to comment Share on other sites More sharing options...
hot202 Posted August 18, 2009 Share Posted August 18, 2009 this is nice but it dont work in a full screen game it dont show up works on desktop tho Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now