Jump to content

Controls array in TrayGetMsg()


 Share

Recommended Posts

i have:

For $n = 1 To 4

$ahExtList[$n-1] = TrayCreateItem("&" & ($n + 1), $hMenuExt, $n + 1, 1)

Next

and then:

$msg=TrayGetMsg()

Switch $msg

Case $ahExtList[0]

....

Case $ahExtList[1]

....

Case $ahExtList[2]

....

Case $ahExtList[3]

....

do it is possibile to use only

Case $ahExtList

msgbox(0,0, $ahExtList number)

?

excuse my english.

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