Maximize XPA without MAX button or system toolbar
Is there a way to maximize XPA with action inside of XPA? The system toolbar is hidden ... Is there a c# code or some other windows function to do this?
I have tried "call windowMode" in a batch file and it does nothing. Tried "call windowMode" with title and pid and had no success. I also tried winmax(), winrestore() ... Any ideas if this is even possible? Regards, A |
||||||||||||
|
||||||||||||
Home > Reference Guide > Expression Editor > Function Directory > WinMaximize WinMaximize
Is there a way to maximize XPA with action inside of XPA? The system toolbar is hidden ... Is there a c# code or some other windows function to do this? |
||||||||||||
|
||||||||||||
Adrian Wick
Yeah I did test this.
It works, for instance, in the main of the control file. I need to trigger this as an user event ... So when user clicks on a button or calls a program with this action or a combination of key has been pressed by the user ... That way it does not work. Regards, A |
||||||||||||
|
||||||||||||
Adrian,
toggle quoted message
Show quoted text
Which version xpa? I tested the WinMaximize() function in xpa v4.9, to wit:
Works for me ... Evaluating this function maximizes the xpa main frame MDI. Are
you rather wanting to maximize the child window within the MDI? Which "system toolbar" is hidden? The main MDI frame's (how did
you manage this?) or the child window's? Steven G. Blank
Ξ SGBlank Consulting On 3/31/2023 4:50 AM, Adrian Wick
wrote:
Is there a way to maximize XPA with action inside of XPA? The system toolbar is hidden ... Is there a c# code or some other windows function to do this? |
||||||||||||
|
||||||||||||
Adrian Wick
XPA 3.3
Yes, i am talking about the xpa main frame MDI. Hm, i guess i am doing something wrong than. I will have a 2nd look. Thank you Steven and Harry. |
||||||||||||
|
||||||||||||
Adrian Wick
Everyday i learn something new!
Thank you Steven it works! Regards, A |
||||||||||||
|
||||||||||||
Adrian Wick
I am just curious ...
I have a system event ctrl+shift+1 which did: evaluate - > winmax() And it didn't work Now I have changed this into a virtual variable and put winmax() on init of that variable and it is working. Why is there a difference?? |
||||||||||||
|
||||||||||||
Adrian Wick
Sorry ... I have no idead why it wasn't working before ... It is working even with only evaluate ...
That is some alien stuff right there ... I'll bring out the last night backup. Because it wasn't working! Now it does. |
||||||||||||
|
||||||||||||
Adrian Wick
Ok.
If there is only MDI opened, this thing doesn't work, until you hover over a menu. As soon as you have a form opened up, it fires immediately. Regards A |
||||||||||||
|