Page 1 of 1
area.BottomEdge and area.RightEdge
Posted: Wed Mar 22, 2017 3:52 pm
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
Re: area.BottomEdge and area.RightEdge
Posted: Wed Mar 22, 2017 4:30 pm
by sinisrus
The simplest would be to get the height of the dragbar of a window MUI
Re: area.BottomEdge and area.RightEdge
Posted: Wed Mar 22, 2017 5:50 pm
by sinisrus
The class popobject would be a very good solution but it is not yet supported
Re: area.BottomEdge and area.RightEdge
Posted: Sat Mar 25, 2017 12:57 pm
by airsoftsoftwair
Area.BottomEdge and
Area.RightEdge should work. What's the class you try to get
Area.BottomEdge and
Area.RightEdge for? Button?
Re: area.BottomEdge and area.RightEdge
Posted: Mon Mar 27, 2017 4:12 pm
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?
Re: area.BottomEdge and area.RightEdge
Posted: Tue Mar 28, 2017 11:49 pm
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.