Jump to content

WinSetTrans not working


Recommended Posts

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

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

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