troubleshooting Question

Window Handle Changes in Always-On-Top Window?

Avatar of ttobin333
ttobin333 asked on
Visual Basic Classic
10 Comments1 Solution316 ViewsLast Modified:
Dear Experts,

When locating and restoring a window minimized to system tray, I am having problems when this window is in "always-on-top" status prior to minimizing.

Using the FindWindow("ThunderRT6Main", MyTitle) and GetWindow(MyHndl, GW_HWNDPREV) functions, I am able to successfully locate and restore the desired application from minimized to visible status. However, when the target window is in always-on-top mode prior to minimizing, the Get Window function returns a different handle and the process does not work.

What am I doing wrong?

Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros