PxPlus User Forum

Main Board => Discussions => Programming => Topic started by: Ken Sproul on May 23, 2019, 04:29:09 PM

Title: hidden windows suddenly become visible
Post by: Ken Sproul on May 23, 2019, 04:29:09 PM
Has anyone experienced hidden windows suddenly becoming visible?

This just started happening at one of our client sites.  They are running PxPlus v11.65 on a windows server and Windows 10 on the client side.  A pxplus program will be running and after some time of not doing anything, the desktop will flicker and the hidden base window and a hidden menu window will suddenly be visible.  This particular user has a laptop with two external monitors and the windows are all on one of the external monitors.

I'm wondering if it's a recent update to Windows or an anti-virus program triggering this.  Any ideas?
Title: Re: hidden windows suddenly become visible
Post by: Mike King on May 24, 2019, 08:07:01 AM
Are the hidden Windows truly hidden or just minimized?

If just minimized the system may get simply be thinking the user clicked restore on them.
Title: Re: hidden windows suddenly become visible
Post by: Ken Sproul on May 24, 2019, 01:41:59 PM
They are truly hidden 'show'(-1).
Title: Re: hidden windows suddenly become visible
Post by: Mike King on May 24, 2019, 02:37:21 PM
I am not aware of anything that would suddenly cause hidden windows to be displayed.

The fact you indicate that the laptop will flicker sounds like something is running and forcing the the windows to be displayed.
Title: Re: hidden windows suddenly become visible
Post by: Mike King on May 24, 2019, 02:45:28 PM
Just a quick update ....

I created a program that hide a window for a few seconds using a WAIT statement and ran in my second monitor.  I noticed that if I disconnected the second monitor, when the program un-hide the window it appeared on the primary monitor.  If I didn't disconnect the monitor when hidden it properly redisplayed on the monitor it was on when hidden.

I wonder if perhaps the user is having his monitor drop off causing the hidden window to change monitors and is the new monitor was a different size its possible the resize logic might cause it to re-displayed.