WoodGrain Posted August 15, 2023 Share Posted August 15, 2023 This is the code I've got so far to create a 1px line , however as you'll see in the attached image, it appears to be creating a 1px gray beville around the 1px line. Can anyone point me in the right direction to get this down to just a 1px (blue in this case) line? #include <GuiConstants.au3> $colourBlue = "0x4073ff" Global $hGUI = GUICreate("", @DesktopWidth, 1, 0, 10, BitOr($WS_POPUP,$WS_DLGFRAME), $WS_EX_TOOLWINDOW) GUISetBkColor($colourBlue, $hGUI) WinSetOnTop($hGUI, "", 1) GuiSetState() Thanks! Link to comment Share on other sites More sharing options...
Solution pixelsearch Posted August 15, 2023 Solution Share Posted August 15, 2023 Hi, why not creating it like this ? GUICreate("", @DesktopWidth, 1, 0, 10, $WS_POPUP) Link to comment Share on other sites More sharing options...
WoodGrain Posted August 15, 2023 Author Share Posted August 15, 2023 Fantastic, thanks so much! 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