1. Tom McArdle
  2. PowerBuilder
  3. Tuesday, 18 June 2019 15:46 PM UTC

Hello

I'm looking for some code that would allow me to change the screen resolution using PB2017.

I'd like to be to toggle back and forth if possible.

Thank You

Tom

 

 

Shenn Sellers Accepted Answer Pending Moderation
  1. Tuesday, 18 June 2019 18:17 PM UTC
  2. PowerBuilder
  3. # 1
Comment
  1. Shenn Sellers
  2. Tuesday, 18 June 2019 19:20 PM UTC
Try changing the function declaration to...



FUNCTION long ChangeDisplaySettingsW (ref devmode lpst, ulong Flags) LIBRARY "USER32.DLL"
  1. Helpful
  1. Tom McArdle
  2. Wednesday, 19 June 2019 11:59 AM UTC
Thank you both. i will try those.



Tom
  1. Helpful
  1. Tom McArdle
  2. Wednesday, 19 June 2019 16:58 PM UTC
Sheen

I tried your suggestion, but no luck.



Chris

Thank you for the linked. It seemed like the answer might be there, but to be honest I have no idea how to translate to powerscript.

  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.