DjDeep00 Posted June 28, 2005 Share Posted June 28, 2005 Does anyone know if it is possible to make some kind of gui look like the following? Have the list data fade as you move up and down the list. Link to comment Share on other sites More sharing options...
buzz44 Posted June 28, 2005 Share Posted June 28, 2005 (edited) You'll need to use some GUI skinning, creating your own picture's etc. Probably won't be able to develop the total effect but fairly close. Edited June 28, 2005 by Burrup qq Link to comment Share on other sites More sharing options...
kjactive Posted June 28, 2005 Share Posted June 28, 2005 (edited) Microsoft Windows Media Player provides functionality to change the overall appearance of the player itself through the use of "skins". Skins are custom overlays that consist of collections of one or more files of computer art, organized by an XML file. The XML file tells Windows Media Player how to use these files to display a skin as the user interface. In this manner, the user can choose from a variety of standard skins, each one providing an additional visual experience. Windows Media Player comes with several skins to choose from, but it is relatively easy to create and distribute custom skins. I think that CWebPage.dll should be able to use skins but never tryed it... kjactive Edited June 28, 2005 by kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc... Link to comment Share on other sites More sharing options...
DjDeep00 Posted June 30, 2005 Author Share Posted June 30, 2005 Can anyone give me an example because I dont know where to start. Link to comment Share on other sites More sharing options...
DjDeep00 Posted July 1, 2005 Author Share Posted July 1, 2005 Can anyone please give me something to start from? Link to comment Share on other sites More sharing options...
kjactive Posted July 3, 2005 Share Posted July 3, 2005 (edited) Well if you want to create/use skins you have to move some programming over in DHTML and XML languageThe graphic attached is a colorfull 'cone of light' control and the DHTML code could look something like this:<STYLE>.alpFilter {background-color:blue;filter:light();color:white}</STYLE><script>window.onload=fnInit;function fnInit(){ var iX2=Alp.offsetWidth;var iY2=Alp.offsetHeight;Alp.filters[0].addCone(0,0,1,iX2,iY2,255,250,90,50,180)}</SCRIPT> <A HREF=str:1><DIV class="alpFilter" ID=Alp style="position:absolute;left:291;top:110;width:100;height:20;border:1 solid red;cursor:hand;text-decoration:none;text-align:center" onmousedown="this.style.left=293;this.style.top=112" onmouseup="this.style.left=291;this.style.top=110"> Text highlighted by a Cone</DIV></A>You need an XML editor - there are some nice freeware stuff around and the CWebPage control that is embedded need the library CWebpage.dll in 'system32'...CWebpage can be found here:http://www.borg.com/~jglatt/cwebpage.zipHere is a small example to use DHTML code in autoit3: needs Tul.jpg graphics as the background and the CWebpage library...#include <GUIConstants.au3> HotKeySet("ESC", "Exits") $dll = DLLOpen("cwebpage.dll"); load in the Html library If $dll = -1 then; check library load okay status or bust MsgBox(48,"ERROR...","CWebpage library failed...") Exit EndIf $Main = GUICreate("Graphics...",-1,-1,200,200,$WS_POPUP) DLLCall($dll,"long","EmbedBrowserObject","hwnd",$Main); attach the browser object from library GUISetState() $a = '<BODY scroll=no><IMG style="position:absolute;left:0;top:0;width:110%;height:110%;padding:10;cursor:none" src="C:\UpLoad\HtmlStrings\Tul.jpg" alt="Help">' $a = $a & '<STYLE>.alpFilter {background-color:blue;filter:light();color:white}</STYLE><script>window.onload=fnInit;function fnInit(){' $a = $a & 'var iX2=Alp.offsetWidth;var iY2=Alp.offsetHeight;Alp.filters[0].addCone(0,0,1,iX2,iY2,255,250,90,50,180)}</SCRIPT>' $a = $a & '<A HREF=str:1><DIV class="alpFilter" ID=Alp style="position:absolute;left:291;top:110;width:100;height:20;border:1 solid red;cursor:hand;text-decoration:none;text-align:center"' $a = $a & ' onmousedown="this.style.left=293;this.style.top=112" onmouseup="this.style.left=291;this.style.top=110">Text highlighted by a Cone</DIV></A></BODY>' DLLCall($dll,"long","DisplayHTMLStr","hwnd",$Main,"str",$a); display the html code in the browser control While 1 $msg = GUIGetMsg() Select Case $msg = -3 ExitLoop EndSelect WEnd Func Exits() DLLCall($dll,"long","UnEmbedBrowserObject","hwnd",$Main) DLLClose($dll) Exit EndFuncESC shortcut key quits window and closes library...This is just some example scripts to get you started But you can do a lot lookwise in plain autoit3 gui like change background colors, resize controls but only to a point - no fancy stuff like flash files, roleover events, transitions etc....kjactive Edited July 3, 2005 by kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc... 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