area.BottomEdge and area.RightEdge

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

area.BottomEdge and area.RightEdge

Post by sinisrus »

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: 347
Joined: Tue Apr 21, 2015 5:43 pm

Re: area.BottomEdge and area.RightEdge

Post by sinisrus »

The simplest would be to get the height of the dragbar of a window MUI
sinisrus
Posts: 347
Joined: Tue Apr 21, 2015 5:43 pm

Re: area.BottomEdge and area.RightEdge

Post by sinisrus »

The class popobject would be a very good solution but it is not yet supported
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: area.BottomEdge and area.RightEdge

Post by airsoftsoftwair »

Area.BottomEdge and Area.RightEdge should work. What's the class you try to get Area.BottomEdge and Area.RightEdge for? Button?
sinisrus
Posts: 347
Joined: Tue Apr 21, 2015 5:43 pm

Re: area.BottomEdge and area.RightEdge

Post by sinisrus »

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: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: area.BottomEdge and area.RightEdge

Post by airsoftsoftwair »

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