You need to be logged in to view a user's profile.
  1. Rajesh Kanna
  2. PowerBuilder
  3. Tuesday, 3 September 2024 06:05 AM UTC

Hi,

I've created one sample application to show the issue that occurring when resize the window, DDLB length is reducing.

Also, DW control is overlapping with tab control in the same window, when change the scale value (150 to 175%) in display setting.

 

Kindly have look and help me to resolve this. Thanks

 

Regards,

Rajesh

Attachments (3)
Accepted Answer
Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 3 September 2024 12:48 PM UTC
  2. PowerBuilder
  3. # Permalink

PowerBuilder isn't DPI Aware, which leads to these sorts of issues. I believe they are planning on fixing it for a future version. You should submit a bug report to add to the urgency.

There are ways of making a PB app DPI Aware using a manifest file or Windows API function. Doing that won't give you the notification event so won't be ideal.

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 3 September 2024 20:19 PM UTC
  2. PowerBuilder
  3. # 1

Hi Rajesh ;

   Have you tried ...

  • FUNCTION  ulong SetProcessDpiAwareness ( ulong value ) library "Shcore.dll"
  • Long   il_rc
  • il_rc    =    SetProcessDpiAwareness (2)  // DPI Awareness ON

Note1: The above API call must be done before any Windows are opened in your APP.

Note2: DPI Awareness is planned for PB 2025.  https://www.appeon.com/developers/roadmap#upcoming  (see High DPI Support)

HTH

Regards .. Chris

 

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 4 September 2024 18:26 PM UTC
Hi John;

Ideally, we would need a PBM_ equivalent to the WM_message mapping added to the IDE in order to map that O/S message to a PB Window class.

Regards .. Chris
  1. Helpful
  1. Roland Smith
  2. Wednesday, 4 September 2024 18:30 PM UTC
Chris, can you make sure that is in the requirements for that enhancements?



Some time ago I put in an enhancement request to allow us to define user events by entering the number instead of choosing one from the drop-down. I haven't heard if this is being planned.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 4 September 2024 19:29 PM UTC
Hi Roland;

I searched around the Support Database but could not see this request.

How did you register this enhancement?

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.