Sign in to follow this  
Followers 0
Rawox

Get trayitem controlID from Title

2 posts in this topic

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

Share this post


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

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