Paulie 26 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? Share this post Link to post Share on other sites
Xenobiologist 44 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 Hide Xenobiologist's signature Hide all signatures 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 Share this post Link to post Share on other sites
Paulie 26 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 Share this post Link to post Share on other sites
Valuater 122 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) Hide Valuater's signature Hide all signatures Share this post Link to post Share on other sites
rush4hire 1 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 Hide rush4hire's signature Hide all signatures 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 Share this post Link to post Share on other sites