Jump to content

Recommended Posts

Posted

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..

Posted

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

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)

This ONLY works for buttons created with XSkinButton

state can be $GUI_HIDE or $GUI_SHOW

Dick

XSkin.au3

Posted

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)

NEWHeader1.png

Posted

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

Posted

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

Posted (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 by Valuater

NEWHeader1.png

Posted

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

Posted

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)

8)

NEWHeader1.png

Posted

Thanks for the help Valuator and Dick.

But I'm still not very good with UDF's and such :lmao: . 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..

Posted (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 use

This ONLY works for buttons created with XSkinButton

state can be $GUI_HIDE or $GUI_SHOW

( this will be changed shortly )

8)

Edited by Valuater

NEWHeader1.png

Posted

Oooh,

Okay thanks alot for clearing stuff up for me, Valuator! XSkin is just incredible :lmao:

Awaiting Diablo III..

Posted

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 Rock

8)

NEWHeader1.png

Posted

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 Rock

8)

You change your avatar more than a woman changes her mind. :whistle:

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...