Sign in to follow this  
Followers 0
ashley

WinSetTrans not working

3 posts in this topic

ok it's not working:

here is the code:

CODE
#include <GUIConstants.au3>

Global $bar

#Region ### START Koda GUI section ### Form=Ashley\koda\Forms\Form1.kxf

$bar = GUICreate("bar", 200, 687, BitOR($WS_MINIMIZEBOX,$WS_POPUP,$WS_GROUP,$WS_CLIPSIBLINGS, $bar))

GUISetBkColor(0x000000)

GUISetState(@SW_SHOW)

#EndRegion ### END Koda GUI section ###

Trans()

While 1

$nMsg = GUIGetMsg()

Switch $nMsg

Case $GUI_EVENT_CLOSE

Exit

EndSwitch

WEnd

func Trans()

WinSetTrans($bar, "bar", 100)

EndFunc

Share this post


Link to post
Share on other sites



$bar = GUICreate("bar", 200, 687, BitOR($WS_MINIMIZEBOX,$WS_POPUP,$WS_GROUP,$WS_CLIPSIBLINGS, $bar))

Try this instead:

CODE
$bar = GUICreate("bar", 200, 687,DEFAULT,DEFAULT,BitOR($WS_MINIMIZEBOX,$WS_POPUP,$WS_GROUP,$WS_CLIPSIBLINGS))

jacQues

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  
Followers 0