Vicks 1 Report post Posted May 8, 2006 (edited) well you see larry made a nice script and i don't get something, well see this picture i uploaded right, it has a purple liner, but if you change it it's not invisable no more, ok example take larry's dll the picutre and this script, and put it in to a New Folder #include <GUIConstants.au3> $gui = GUICreate("",233,362,-1,-1,$WS_POPUP) GUICtrlCreatePic(".\gui_skin.bmp",0,0,233,362) $a = DLLCall(".\BMP2RGN.dll","int","BMP2RGN", _ "str",".\gui_skin.bmp", _ "int",255, _ "int",0, _ "int",255) SetWindowRgn($gui, $a[0]) GUISetState() Sleep(2000) Func SetWindowRgn($h_win, $rgn) DllCall("user32.dll", "long", "SetWindowRgn", "hwnd", $h_win, "long", $rgn, "int", 1) EndFuncnow before you start the script, look at the picutre there's like a purple liner, now run the script the purple is invisable, now if you edit the picture in paint, change the purple to say, red, run the script it's not invisabl any more, but in this script i don't see it saying look for purple. Edited May 8, 2006 by Vicks [s]Autoit[/s] Share this post Link to post Share on other sites
BigDod 505 Report post Posted May 8, 2006 This part$a = DLLCall(".\BMP2RGN.dll","int","BMP2RGN", _ "str",".\gui_skin.bmp", _ "int",255, _ "int",0, _ "int",255)is $a = DLLCall(".\BMP2RGN.dll","int","BMP2RGN", _ "str",".\gui_skin.bmp", _ "int",Red, _ "int",Green, _ "int",Blue)ie255,0,255 = Purple Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.Time you enjoyed wasting is not wasted time ......T.S. ElliotSuspense is worse than disappointment................Robert BurnsGod help the man who won't help himself, because no-one else will...........My Grandmother Share this post Link to post Share on other sites
GaryFrost 11 Report post Posted May 8, 2006 $a = DLLCall(".\BMP2RGN.dll","int","BMP2RGN", _ "str",".\gui_skin.bmp", _ "int",255, _;<<<<<< red "int",0, _ ;<<<<<< green "int",255) ;<<<<<< blue 255,0,255 red,green,blue 255 red and 255 blue, makes a purple color SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Share this post Link to post Share on other sites
seandisanti 1 Report post Posted May 8, 2006 yeah, he'd pm'd me with this one, and i'd told him the same thing... sorry if i didn't say it clearly enough... 1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz Share this post Link to post Share on other sites
BigDod 505 Report post Posted May 8, 2006 yeah, he'd pm'd me with this one, and i'd told him the same thing... sorry if i didn't say it clearly enough...Well he now has three explanations, perhaps he will get it now. Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.Time you enjoyed wasting is not wasted time ......T.S. ElliotSuspense is worse than disappointment................Robert BurnsGod help the man who won't help himself, because no-one else will...........My Grandmother Share this post Link to post Share on other sites