Change Screen Resolution

Hi everybody!

Is there a way to change the Windows/MacOS screen resolution with Xojo? I’d like to change the screen resolution to 1920x1080 whenever the user starts the desktop application. Provided the monitor supports the resolution. When the user closes the application, it should go back to the original resolution.

Would appreciate your help.

Thank you

I think this is not a good idea …
What if the monitor can not support it?

Yeah don’t do that without asking the user. You’ll mess up their desktop and window arrangements.
However, I know it can be done with MBS plugins.

Any app that does that gets deleted on my machines

This is a terrible idea. Why do you want to do that ?