Jump to content
Sign in to follow this  
MerkurAlex

GUI Control fade.

Recommended Posts

MerkurAlex

Anyone know a way to fade a gui control?

Basically a winsettrans() for a gui control.


[quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]

Share this post


Link to post
Share on other sites
silvano

like this?

#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("title", 447, 279, 193, 115)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            ExitLoop

    EndSwitch
WEnd
for $i = 250 To 0 Step -10
    WinSetTrans ( "title", "", $i )
Next

Share this post


Link to post
Share on other sites
MerkurAlex

like this?

#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("title", 447, 279, 193, 115)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            ExitLoop

    EndSwitch
WEnd
for $i = 250 To 0 Step -10
    WinSetTrans ( "title", "", $i )
Next
LOL you dont even know how funny this is a control NOT a window control as in guiCTRLbuttoncreate

[quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]

Share this post


Link to post
Share on other sites
silvano

sorry ,

i don't know to trans controls...

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×