area.BottomEdge and area.RightEdge

Discuss GUI programming with the MUI Royale plugin here
Post Reply
sinisrus
Posts: 217
Joined: Tue Apr 21, 2015 5:43 pm

area.BottomEdge and area.RightEdge

Post by sinisrus » Wed Mar 22, 2017 4:52 pm

Hello,

area.BottomEdge and area.RightEdge => no work

I find solution for get the x, y position of mui window and width,height of area object => (for open hollywood window Side of a mui button)

My problem is dragbar window is not identical (height) in Os4 and Os3

Have you solution for this?

Thank you

sinisrus
Posts: 217
Joined: Tue Apr 21, 2015 5:43 pm

Re: area.BottomEdge and area.RightEdge

Post by sinisrus » Wed Mar 22, 2017 5:30 pm

The simplest would be to get the height of the dragbar of a window MUI

sinisrus
Posts: 217
Joined: Tue Apr 21, 2015 5:43 pm

Re: area.BottomEdge and area.RightEdge

Post by sinisrus » Wed Mar 22, 2017 6:50 pm

The class popobject would be a very good solution but it is not yet supported

User avatar
airsoftsoftwair
Posts: 2482
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: area.BottomEdge and area.RightEdge

Post by airsoftsoftwair » Sat Mar 25, 2017 1:57 pm

Area.BottomEdge and Area.RightEdge should work. What's the class you try to get Area.BottomEdge and Area.RightEdge for? Button?

sinisrus
Posts: 217
Joined: Tue Apr 21, 2015 5:43 pm

Re: area.BottomEdge and area.RightEdge

Post by sinisrus » Mon Mar 27, 2017 4:12 pm

With window class the area bottomedge and rightedge => no work

The cleanest solution to do what I want:
I need x, y position of hollywood.display class

but it does not work

In Mui window i use the class hollywood display 1
If i use GetAttribute (# DISPLAY, 1, # ATTRXPOS)) return => -100000

Why? It is not implemented?

User avatar
airsoftsoftwair
Posts: 2482
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: area.BottomEdge and area.RightEdge

Post by airsoftsoftwair » Tue Mar 28, 2017 11:49 pm

sinisrus wrote:With window class the area bottomedge and rightedge => no work
That's normal because window class isn't a child of area class.
The cleanest solution to do what I want:
I need x, y position of hollywood.display class

but it does not work
Area.BottomEdge and Area.RightEdge work correctly here for Hollywood class. I've just tested this. If they don't work for you, then please post some code.
In Mui window i use the class hollywood display 1
If i use GetAttribute (# DISPLAY, 1, # ATTRXPOS)) return => -100000
Why? It is not implemented?
GetAttribute() refers to the display's position on the screen, not to the position of display satellites. The display you have in the MUI window is just a satellite. You cannot use GetAttribute() with that. You have to use Area.BottomEdge, Area.LeftEdge, etc. for satellites.

Post Reply