Jump to content

Get trayitem controlID from Title


 Share

Recommended Posts

Hello guys,

I'm creating a script that hides several windows and then adds them to a tray menu.

It already puts them into the tray but there also is an option that shows all the windows back.

Because these items are windows I already have the titles so maybe I could do something with that?

Can anyone help me please?

Thanks in advance,

Rawox

Link to comment
Share on other sites

When you hide a window store the necessary data (HWND is probably the best option for working with the windows as well as title and text) into an array. From there you should be able to work out a method to restoring selected windows (by referencing to their tiles for example) or restore all of them (looping through the HWND.)

Cheers,

Brett

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