Paulie Posted July 21, 2006 Share Posted July 21, 2006 I am pretty sure theres a way to round the GUIs to be circular, but i can't find it, i've searched the forums for like 5 different keywords up to like page five and found nothing with the UDF :"> Anyone have a link handy? Link to comment Share on other sites More sharing options...
Xenobiologist Posted July 21, 2006 Share Posted July 21, 2006 HI, I used the dll call in my Yahtzee script. Look at my sig. There is also another nice DllCall in it. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Paulie Posted July 21, 2006 Author Share Posted July 21, 2006 (edited) ok, i found this one Func RoundGUI($h_win, $i_x1, $i_y1, $i_x3, $i_y3) Dim $pos, $ret, $ret2 $pos = WinGetPos($h_win) $ret = DllCall("gdi32.dll", "long", "CreateRoundRectRgn", "long", $i_x1, "long", $i_y1, "long", $pos[2], "long", $pos[3], "long", $i_x3, "long", $i_y3) If $ret[0] Then $ret2 = DllCall("user32.dll", "long", "SetWindowRgn", "hwnd", $h_win, "long", $ret[0], "int", 1) If $ret2[0] Then Return 1 Else Return 0 EndIf Else Return 0 EndIf EndFunc ;==>RoundGUI But i don't understand the syntax, anyone care to explain? Edited July 21, 2006 by Paulie Link to comment Share on other sites More sharing options...
Valuater Posted July 21, 2006 Share Posted July 21, 2006 This was created by gafrost, in his post he has an example of usehttp://www.autoitscript.com/forum/index.ph...=round+corners#8) Link to comment Share on other sites More sharing options...
rush4hire Posted July 22, 2006 Share Posted July 22, 2006 (edited) Maybe you can make it transparent and put an image there as a graphic. $WS_EX_TRANSPARENT 0x00000020 The window appears transparent because the bits of underlying sibling windows have already been painted. Found in Appendex/GUI Control Styles Edited July 22, 2006 by rush4hire Decompilable game code manager for Dark Deeds 6 for Warcraft IIIA web broadcast TiVo like thing.. (this example is for 3abn.org)Finally.. AutoIt Pac-Man Digital Hymn Player 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