1. Pierre DETE
  2. PowerBuilder
  3. Monday, 24 June 2019 09:38 AM UTC

Hello Pb users,

Many of our customers are starting to complain about the strange opening and sorting behavior of open windows with Powerbuilder 2017 and Windows 10.
Sometimes, when they open a new process, an already open window comes first and hides the new opening window.
All these problems are not reproducible each time.
The only thing we can see at the moment is that when we open several Powerbuilder applications and several windows in each one, some long instructions generate a reorganization in the already open windows.
So we try to do a systematic test.
An idea of ​​what we need to look for? PowerBuilder? Windows 10? Memory?

Yiannis Papadomichelakis Accepted Answer Pending Moderation
  1. Wednesday, 26 June 2019 08:16 AM UTC
  2. PowerBuilder
  3. # 1

I have also noticed this.

We have an application that uses LDAP authentication, so the user doesn't need to provide credentials. Each time I open this app, it never appears in the front, it always starts behind otherwindows, like minimized.

But other applications that do not use LDAP and require user credentials (so we need to open a responce window), the main application window appears as expected.

Both applications are MDI.

 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 24 June 2019 17:50 PM UTC
  2. PowerBuilder
  3. # 2

Hi Pierre;

   I have not seen this in my multiple PB App testing with PB2017R3 or PB2019 on my W10 test PC's (Windows build 17763). If you can recreate this situation though, please open a support ticket and attached your PB App "test case".

Regards ... Chris

Comment
There are no comments made yet.
Michael Kramer Accepted Answer Pending Moderation
  1. Monday, 24 June 2019 13:26 PM UTC
  2. PowerBuilder
  3. # 3

Hi Pierre, This is in my view a Windows 10 UI issue.

I struggle with same Windows 10 behavior unrelated to PowerBuilder. Example: Sometimes MS Sticky Notes remains in front of Notepad - or MS Outlook.

On my home computer I run the 1903 release (aka. May 2019 update) and haven't seen this issue lately.

HTH /Michael

Comment
  1. Jeff Hersey
  2. Thursday, 11 March 2021 15:03 PM UTC
anybody have any insight into this behavior, has it gone away? Our application will some times open behind a window, have focus, take keystrokes, all the while remain hidden behind a window. Alt+F4 will close our application.



Jeff
  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 11 March 2021 18:17 PM UTC
Hi Jeff;

After your App opens a window have you tried ...



<WindowName>.SetPosition(TopMost!) // ie: MDI Frame



// - OR - SDK function ...



SetWindowPos(long hwnd, long hmode, int ix, int iy, int cx, int cy, ulong flags) LIBRARY "USER32.DLL"



"Flags" values ...

CONSTANT long HWND_TOP = 0

CONSTANT long HWND_BOTTOM = 1

CONSTANT long HWND_TOPMOST = -1

CONSTANT long HWND_NOTOPMOST = -2



HTH

Regards ... Chris
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.