_Kurt Posted October 20, 2006 Share Posted October 20, 2006 Hey, just wondering.. is there a way to hide a XSkinButton? I realized GuiCtrlSetState($example, $GUI_HIDE) Didn't work. Sorry if this is a noob question, as you can see by my number of posts, i am still indeed a NOOBIE Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
Dickb Posted October 20, 2006 Share Posted October 20, 2006 Hey, just wondering.. is there a way to hide a XSkinButton? I realized GuiCtrlSetState($example, $GUI_HIDE) Didn't work. Sorry if this is a noob question, as you can see by my number of posts, i am still indeed a NOOBIEWith a little addition to XSkin.au3 Another quick hack (Sorry Valuater, do with it what you like) If you use the attached version of XSkin.au3 then you can use this new command: XSkinGuiCtrlSetState($XSkinButton, state) This ONLY works for buttons created with XSkinButton state can be $GUI_HIDE or $GUI_SHOW DickXSkin.au3 Link to comment Share on other sites More sharing options...
Valuater Posted October 20, 2006 Author Share Posted October 20, 2006 With a little addition to XSkin.au3 Another quick hack (Sorry Valuater, do with it what you like) If you use the attached version of XSkin.au3 then you can use this new command: XSkinGuiCtrlSetState($XSkinButton, state)oÝ÷ Ù8b°ãKc +Ç軶ìr·µçpØWJH§ëm¢{-j×jvÞÓ~PÈJ+Ó~P9`ârOêº^6k¡¹^ØZK¢»azË©¦íòØb²+ ¢ZºÚ"µÍ[ÈÚÚ[ÙÐÞÒÊ ÌÍÓP]K ÌÍÓP^ BÚÚ[ÙÐÞ ÌÍÓP]K ÌÍÓP^ ][ÝÉ][ÝË B[[ and this ok too... XSkinGuiCtrlSetState($XSkinButton, state) but, how about we rename it to ... XSkinButtonSetState($XSkinButton, state) Since it is made for buttons only??? 8) Link to comment Share on other sites More sharing options...
Dickb Posted October 21, 2006 Share Posted October 21, 2006 but, how about we rename it to ...XSkinButtonSetState($XSkinButton, state)Since it is made for buttons only???I Agree. Sounds good.And thanks for this UDF. Already used it for some programs in our company.Some people tend to judge programs for the look, not the functionality. And this UDF help.Dick Link to comment Share on other sites More sharing options...
Valuater Posted October 21, 2006 Author Share Posted October 21, 2006 Is all in the GuiGetCursorInfo array?yes!8) Link to comment Share on other sites More sharing options...
cool0403 Posted October 21, 2006 Share Posted October 21, 2006 am havin problems with xskin.au3 when i try to run i get an error message well a couple error messages C:\Documents and Settings\Geico\Desktop\skins\XSkin.au3(119,148) : WARNING: $GUI_WS_EX_PARENTDRAG: possibly used before declaration. GUICtrlCreatePic($elements[1], ($tile_size * ($XS_i + 1)), 0, $tile_size, $tile_size, BitOR($SS_NOTIFY, $WS_CLIPSIBLINGS), $GUI_WS_EX_PARENTDRAG ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Geico\Desktop\skins\XSkin.au3(169,66) : WARNING: $GUI_BKCOLOR_TRANSPARENT: possibly used before declaration. GUICtrlSetBkColor($XSkinID[$XS_s], $GUI_BKCOLOR_TRANSPARENT) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Geico\Desktop\skins\XSkin.au3(119,148) : ERROR: $GUI_WS_EX_PARENTDRAG: undeclared global variable. GUICtrlCreatePic($elements[1], ($tile_size * ($XS_i + 1)), 0, $tile_size, $tile_size, BitOR($SS_NOTIFY, $WS_CLIPSIBLINGS), $GUI_WS_EX_PARENTDRAG ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Geico\Desktop\skins\XSkin.au3(169,66) : ERROR: $GUI_BKCOLOR_TRANSPARENT: undeclared global variable. GUICtrlSetBkColor($XSkinID[$XS_s], $GUI_BKCOLOR_TRANSPARENT) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Geico\Desktop\skins\XSkin.au3(118,50) : ERROR: Ceiling(): undefined function. For $XS_i = 0 To (Ceiling($XS_width / $tile_size) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Geico\Desktop\skins\XSkin.au3 - 3 error(s), 2 warning(s) thats the error i get when runnin it in my editor, i dont see the function Ceiling defined Link to comment Share on other sites More sharing options...
Valuater Posted October 21, 2006 Author Share Posted October 21, 2006 (edited) you need the latest release of Autoit v3 these variables are defined in the GUIConstants.au3 file... not my script #include <GUIConstants.au3> and Ceiling() .... yours must be from an "older version" 8) Edited October 21, 2006 by Valuater Link to comment Share on other sites More sharing options...
cool0403 Posted October 21, 2006 Share Posted October 21, 2006 Newbie * Group: Members Posts: 1 Joined: Today, 09:50 AM Member No.: 17,084 Warn: (0%) ----- am havin problems with xskin.au3 when i try to run i get an error message well a couple error messages C:\Documents and Settings\Geico\Desktop\skins\XSkin.au3(119,148) : WARNING: $GUI_WS_EX_PARENTDRAG: possibly used before declaration. GUICtrlCreatePic($elements[1], ($tile_size * ($XS_i + 1)), 0, $tile_size, $tile_size, BitOR($SS_NOTIFY, $WS_CLIPSIBLINGS), $GUI_WS_EX_PARENTDRAG ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Geico\Desktop\skins\XSkin.au3(169,66) : WARNING: $GUI_BKCOLOR_TRANSPARENT: possibly used before declaration. GUICtrlSetBkColor($XSkinID[$XS_s], $GUI_BKCOLOR_TRANSPARENT) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Geico\Desktop\skins\XSkin.au3(119,148) : ERROR: $GUI_WS_EX_PARENTDRAG: undeclared global variable. GUICtrlCreatePic($elements[1], ($tile_size * ($XS_i + 1)), 0, $tile_size, $tile_size, BitOR($SS_NOTIFY, $WS_CLIPSIBLINGS), $GUI_WS_EX_PARENTDRAG ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Geico\Desktop\skins\XSkin.au3(169,66) : ERROR: $GUI_BKCOLOR_TRANSPARENT: undeclared global variable. GUICtrlSetBkColor($XSkinID[$XS_s], $GUI_BKCOLOR_TRANSPARENT) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Geico\Desktop\skins\XSkin.au3(118,50) : ERROR: Ceiling(): undefined function. For $XS_i = 0 To (Ceiling($XS_width / $tile_size) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Geico\Desktop\skins\XSkin.au3 - 3 error(s), 2 warning(s) thats the error i get when runnin it in my editor, i dont see the function Ceiling defined Link to comment Share on other sites More sharing options...
Valuater Posted October 21, 2006 Author Share Posted October 21, 2006 you need the latest release of Autoit v3these variables are defined in the GUIConstants.au3 file... not my script#include <GUIConstants.au3>andCeiling().... yours must be from an "older version"8)8) Link to comment Share on other sites More sharing options...
_Kurt Posted October 21, 2006 Share Posted October 21, 2006 Thanks for the help Valuator and Dick. But I'm still not very good with UDF's and such . So what exactly would be the code for setting the state of the button? Func XSkinGuiCtrlSetState($XSkinButton, ) ;Does anything go here? EndFunc Cheers, Kurt Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
Valuater Posted October 21, 2006 Author Share Posted October 21, 2006 (edited) for "right now only"use the XSkin.au3 from Dick ( above )XSkinGuiCtrlSetState($XSkinButton, state) ; this is not a function use, it is a state-set useThis ONLY works for buttons created with XSkinButtonstate can be $GUI_HIDE or $GUI_SHOW( this will be changed shortly )8) Edited October 21, 2006 by Valuater Link to comment Share on other sites More sharing options...
_Kurt Posted October 21, 2006 Share Posted October 21, 2006 Oooh, Okay thanks alot for clearing stuff up for me, Valuator! XSkin is just incredible Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
cool0403 Posted October 22, 2006 Share Posted October 22, 2006 would anybody be nice by tellin me how to do skins please Link to comment Share on other sites More sharing options...
GaryFrost Posted October 22, 2006 Share Posted October 22, 2006 would anybody be nice by tellin me how to do skins pleasehttp://www.autoitscript.com/forum/index.ph...st&p=233849 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Fossil Rock Posted October 22, 2006 Share Posted October 22, 2006 (edited) Lessons..... damnit ...... you beat me to it .... Edited October 22, 2006 by Fossil Rock Agreement is not necessary - thinking for one's self is! Link to comment Share on other sites More sharing options...
Valuater Posted October 26, 2006 Author Share Posted October 26, 2006 Oct. 26, 2006 XSkin.au3 v1.3.5 *** UpDated **** Added - XSkinButtonSetState() - Show or Hide* Added - Skinned Message Box OK - ok button only Thanks to Dickb***************Thanks for the support gafrost and Fossil Rock8) Link to comment Share on other sites More sharing options...
GaryFrost Posted October 26, 2006 Share Posted October 26, 2006 Oct. 26, 2006 XSkin.au3 v1.3.5 *** UpDated **** Added - XSkinButtonSetState() - Show or Hide* Added - Skinned Message Box OK - ok button only Thanks to Dickb***************Thanks for the support gafrost and Fossil Rock8)You change your avatar more than a woman changes her mind. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Valuater Posted October 26, 2006 Author Share Posted October 26, 2006 You change your avatar more than a woman changes her mind. lol, i don't think that is possible.... 8) Link to comment Share on other sites More sharing options...
_Kurt Posted October 26, 2006 Share Posted October 26, 2006 Yay, *Added in XSkin set state This is what I needed Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
dufran3 Posted November 8, 2006 Share Posted November 8, 2006 Any idea on when you will be releasing xskin with tabs????!!!! I am eagerly awaiting this realease. 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