Maximise Programmatically

When in DeX mode, is there a way for an application to maximise itself programmatically? or is this only available via the maximize button in the app’s window frame?

Hi Alza,
I think it is only available via the maximize button. If you find any solution to do it programmatically, please share it here so that others can learn about it.

Thank you.

thank you for the reply. I already tried some tinkering and it did not work. I will try this again and will share the solution if I found any