LuckyMurari Posted May 11, 2007 Share Posted May 11, 2007 Ok,I dint see ur prev post valuater...yeah they cool...i meant the same why cant we make another one similar to xskin but this time dealing with shaped windows...winmdows of different shapes Link to comment Share on other sites More sharing options...
LuckyMurari Posted May 11, 2007 Share Posted May 11, 2007 Jscript at do u mean by that?i dint ge u Link to comment Share on other sites More sharing options...
Valuater Posted May 11, 2007 Author Share Posted May 11, 2007 Hi,I want to show my skin model...When you are in post mode you can 1 upload a picturepress the browse button at the bottom right, then press the green UPLOAD button, then "manage current Attachments" click the plus sign2 Attach a picture from a linkupload a picture to a place you know of, then press then just put the link in8) Link to comment Share on other sites More sharing options...
ShevilieUDFTroll Posted May 14, 2007 Share Posted May 14, 2007 Trolling for UDF list Link to comment Share on other sites More sharing options...
Valuater Posted June 2, 2007 Author Share Posted June 2, 2007 Hi,I want to show my skin model...Still waiting to see your skin designI explained how to display a pic.... did that work???8) Link to comment Share on other sites More sharing options...
Valuater Posted June 11, 2007 Author Share Posted June 11, 2007 Working on a new Plug-in Hope to have it completed soon!! 8) Link to comment Share on other sites More sharing options...
J0ker Posted June 17, 2007 Share Posted June 17, 2007 (edited) Hi, I have a few questions:1. How can I Xskin a button using the Buttons skin folder? It's easy to do it with ezskin but I want to make it myself in my script. I want to skin two buttons in my Gui using the Style_01.If the button's skins are in @ScriptDir & "\Images\Skins\Buttons\Style_01", How can I skin a button with Xskin (#include <XSkin.au3>)?2. How can I set a XskingGuicreate window to be always on top? Where should I use $WS_EX_TOPMOST because there's no such parameters.Thanks Edited June 17, 2007 by J0ker Link to comment Share on other sites More sharing options...
Valuater Posted June 18, 2007 Author Share Posted June 18, 2007 Hi, I have a few questions:1. How can I Xskin a button using the Buttons skin folder? It's easy to do it with ezskin but I want to make it myself in my script. I want to skin two buttons in my Gui using the Style_01.If the button's skins are in @ScriptDir & "\Images\Skins\Buttons\Style_01", How can I skin a button with Xskin (#include <XSkin.au3>)?2. How can I set a XskingGuicreate window to be always on top? Where should I use $WS_EX_TOPMOST because there's no such parameters.Thanks 1If you take a look at Page #1, there is a demoDownLoad - Custom example by big daddy & FULLY LOADED!This uses the Button Hover() UDFYou include ButtonHover() and use the button you want2useWinSetOnTop( $XSkinGUI, "", 1)to set your gui on-top8) Link to comment Share on other sites More sharing options...
J0ker Posted June 18, 2007 Share Posted June 18, 2007 (edited) Thanks! How can I change the font a button made with ButtonHover_ ? This doesnt work: $Button = _HoverButton("OK", 162, 330, 130, 30, $XButton_Location) GUICtrlSetFont ($Button, 8.5, 18, "", "Arial black") I know that it doesnt work because it's a picture and not a Gui buttons but how can I change the label font? Edited June 18, 2007 by J0ker Link to comment Share on other sites More sharing options...
Valuater Posted June 18, 2007 Author Share Posted June 18, 2007 Thanks! How can I change the font a button made with ButtonHover_ ? This doesnt work: $Button = _HoverButton("OK", 162, 330, 130, 30, $XButton_Location) GUICtrlSetFont ($Button, 8.5, 18, "", "Arial black") oÝ÷ Ø'£ajØv¬Ü(®FÞq«¬z+wöÆ©Ënæ§vz-hk¢nëm¢{ºØhÁƧ!ÈZéZmé_¢{ªê-x¸¤zØb±«¢+Ø((ÀÌØí ÕÑѽ¸ô}!½ÙÉ ÕÑѽ¸ ÅÕ½Ðí=,ÅÕ½Ðì°ÄØÈ°ÌÌÀ°ÄÌÀ°ÌÀ°ÀÌØía ÕÑѽ¹}1½Ñ¥½¸¤()U% ÑɱMѽ¹Ð ÀÌØí ÕÑѽ¸¬Ä°à¸Ô°Äà°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐíÉ¥°±¬ÅÕ½Ðì¤(( Note the +1 for the label that is over the pic 8) Link to comment Share on other sites More sharing options...
J0ker Posted June 18, 2007 Share Posted June 18, 2007 Hehe Sweeeet ! Thx Valu ;-) Link to comment Share on other sites More sharing options...
Valuater Posted June 19, 2007 Author Share Posted June 19, 2007 Hehe Sweeeet ! Thx Valu ;-)Welcome... let me know how this one turns out8) Link to comment Share on other sites More sharing options...
J0ker Posted June 19, 2007 Share Posted June 19, 2007 (edited) It worked fine, my skin is very nice now. I was just wondering if there's a way to set the window so that you can drag,move it anywhere when you hold anypart of the skin images. Now, the only place that let move the window is near the title bar on top. The problem is that you cant see the title bar because of the skin and 1 time out of 2 I cant drag the window because I dont click at the right spot. Is there a way to set that each skin images let you drag the main window when you press on them? I'm sure there something to do with MouseHover_ but I really dont know how to do it. Edited June 19, 2007 by J0ker Link to comment Share on other sites More sharing options...
Valuater Posted June 19, 2007 Author Share Posted June 19, 2007 1 MouseHover is not mine,,, or anything to do with XSkin 2 If you are using the "exit" button at the top right. that area can not be "dragged" because the pic button is set on top and the pics below are disabled 3 You can try this... NOT TESTED Replace the following lines GUICtrlCreatePic($elements[0], 0, 0, $tile_size, $tile_size, BitOR($SS_NOTIFY, $WS_CLIPSIBLINGS), $GUI_WS_EX_PARENTDRAG) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreatePic($elements[2], ($XS_width - $tile_size), 0, $tile_size, $tile_size, BitOR($SS_NOTIFY, $WS_CLIPSIBLINGS), $GUI_WS_EX_PARENTDRAG) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreatePic($elements[5], 0, ($XS_height - $tile_size), $tile_size, $tile_size, BitOR($SS_NOTIFY, $WS_CLIPSIBLINGS), $GUI_WS_EX_PARENTDRAG) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreatePic($elements[7], ($XS_width - $tile_size) , ($XS_height - $tile_size), $tile_size, $tile_size, BitOR($SS_NOTIFY, $WS_CLIPSIBLINGS), $GUI_WS_EX_PARENTDRAG) For $XS_i = 0 To (Ceiling($XS_width / $tile_size) - 3) GUICtrlCreatePic($elements[1], ($tile_size * ($XS_i + 1)), 0, $tile_size, $tile_size, BitOR($SS_NOTIFY, $WS_CLIPSIBLINGS), $GUI_WS_EX_PARENTDRAG) If $XS_i > ((Ceiling($XS_width / $tile_size) - 3) / 4) * 3 Then GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreatePic($elements[6], ($tile_size * ($XS_i + 1)) , ($XS_height - $tile_size), $tile_size, $tile_size, $WS_CLIPSIBLINGS) ;GUICtrlSetState(-1, $GUI_DISABLE) Next For $XS_i = 0 To (Ceiling($XS_height / $tile_size) - 3) GUICtrlCreatePic($elements[3], 0, ($tile_size * ($XS_i + 1)), $tile_size, $tile_size, BitOR($SS_NOTIFY, $WS_CLIPSIBLINGS), $GUI_WS_EX_PARENTDRAG) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreatePic($elements[4], ($XS_width - $tile_size) , ($tile_size * ($XS_i + 1)), $tile_size, $tile_size, BitOR($SS_NOTIFY, $WS_CLIPSIBLINGS), $GUI_WS_EX_PARENTDRAG) ;GUICtrlSetState(-1, $GUI_DISABLE) Next GUICtrlCreatePic($elements[0], 0, 0, $tile_size, $tile_size, BitOR($SS_NOTIFY, $WS_CLIPSIBLINGS), $GUI_WS_EX_PARENTDRAG) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreatePic($elements[2], ($XS_width - $tile_size), 0, $tile_size, $tile_size, BitOR($SS_NOTIFY, $WS_CLIPSIBLINGS), $GUI_WS_EX_PARENTDRAG) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreatePic($elements[5], 0, ($XS_height - $tile_size), $tile_size, $tile_size, BitOR($SS_NOTIFY, $WS_CLIPSIBLINGS), $GUI_WS_EX_PARENTDRAG) ;GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreatePic($elements[7], ($XS_width - $tile_size) , ($XS_height - $tile_size), $tile_size, $tile_size, BitOR($SS_NOTIFY, $WS_CLIPSIBLINGS), $GUI_WS_EX_PARENTDRAG) If $XS_debug Then ConsoleWrite("gui = " & $XS_gui[$XS_TMA] & " Error = " & @error & @CRLF) If $guiCorners Then _GuiRoundCorners($XS_gui[$XS_TMA], 0, 0, $guiCorners, $guiCorners) Return $XS_gui[$XS_TMA] EndFunc ;==>XSkinGUICreate 8) Link to comment Share on other sites More sharing options...
J0ker Posted June 19, 2007 Share Posted June 19, 2007 (edited) Thanks again! Work perfect except for the bottom middle picture: Bottom Middle = 6.bmp Edited June 19, 2007 by J0ker Link to comment Share on other sites More sharing options...
Valuater Posted June 19, 2007 Author Share Posted June 19, 2007 Sorry, I missed one line replace this GUICtrlCreatePic($elements[6], ($tile_size * ($XS_i + 1)) , ($XS_height - $tile_size), $tile_size, $tile_size, $WS_CLIPSIBLINGS) with this line GUICtrlCreatePic($elements[6], ($tile_size * ($XS_i + 1)) , ($XS_height - $tile_size), $tile_size, $tile_size, BitOR($SS_NOTIFY, $WS_CLIPSIBLINGS), $GUI_WS_EX_PARENTDRAG) 8) Link to comment Share on other sites More sharing options...
J0ker Posted June 19, 2007 Share Posted June 19, 2007 Thanks for your help! BTW Xskin is ***** amazing program. EDIT: Seem that I have another question lol I have a Xskin button and I want to disable it. I want that the button still have the look of a skinned button but I want that if I put py mouse over it, click on it, nothing happen. I just want the look but not the event that come with it. $Ok = _HoverButton("Ok", 59, 290, 125, 30, $XButton_Location) GUICtrlSetFont ($Ok + 1, 8.5, 18, "", "Arial black") $Cancel = _HoverButton("Cancel", 59, 325, 230, 30, $XButton_Location) GUICtrlSetFont ($Cancel + 1, 7, 10, "", "Arial") GUICtrlSetState($Cancel + 1, $GUI_DISABLE) Link to comment Share on other sites More sharing options...
Valuater Posted June 19, 2007 Author Share Posted June 19, 2007 (edited) Thanks for your help! BTW Xskin is ***** amazing program. EDIT: Seem that I have another question lol I have a Xskin button and I want to disable it. I want that the button still have the look of a skinned button but I want that if I put py mouse over it, click on it, nothing happen. I just want the look but not the event that come with it. c2--><!--W2ZvbnQ9bW9ub3NwYWNlXQomIzAzNjtPayA9ICBfSG92ZXJCdXR0b24oJnF1b3Q7T2smcXVvdDssIDU5LCAyOTAsIDEyNSwgMzAs ICYjMDM2O1hCdXR0b25fTG9jYXRpb24pCkdVSUN0cmxTZXRGb250ICgmIzAzNjtPayArIDEsIDguNSwgMTgsICZxdW90OyZxdW90 OywgJnF1b3Q7QXJpYWwgYmxhY2smcXVvdDspCgomIzAzNjtDYW5jZWwgPSAgX0hvdmVyQnV0dG9uKCZxdW90O0NhbmNlbCZxdW90 OywgNTksIDMyNSwgMjMwLCAzMCwgJiMwMzY7WEJ1dHRvbl9Mb2NhdGlvbikKR1VJQ3RybFNldEZvbnQgKCYjMDM2O0NhbmNlbCAr IDEsIDcsIDEwLCAmcXVvdDsmcXVvdDssICZxdW90O0FyaWFsJnF1b3Q7KQoKR1VJQ3RybFNldFN0YXRlKCYjMDM2O0NhbmNlbCAr IDEsICYjMDM2O0dVSV9ESVNBQkxFKQogWy9mb250XQ==--><!--eg did you try GUICtrlSetState($Cancel , $GUI_DISABLE) remove the +1 ( this way it disables the pic... not the label ) 8) Edited June 19, 2007 by Valuater Link to comment Share on other sites More sharing options...
Valuater Posted June 19, 2007 Author Share Posted June 19, 2007 (edited) BTW...1$Button_1 = _HoverButton ("Small", 180, 80, 70, 15, $color)2strange how your code looks in my responce3Welcome8) Edited June 19, 2007 by Valuater Link to comment Share on other sites More sharing options...
J0ker Posted June 19, 2007 Share Posted June 19, 2007 (edited) GUICtrlSetState($Cancel , $GUI_DISABLE)remove the +1 ( this way it disables the pic... not the label )It doesnt work if I remove the +1, nothing happen.If I add the + 1 it seem like the button is disabled but there's style the on event action ( the button change look when I click on it etc..)$Button_1 = _HoverButton ("Small", 180, 80, 70, 15, $color)huh?? The $color is the same as $XButton_Location...$XButton_Location = @ScriptDir & "\Images\Skins\Buttons\Style_01" Edited June 19, 2007 by J0ker 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