Re: Open new window with same height and Y position as anoth
Posted: Sun Aug 28, 2016 2:18 pm
@rashad
that work for y, but the windows are not positioned at 200 and 300.
Anyway all these are just workarounds for a specific problem, the point is you don't get reliable information when using PB commands to query windows' metrics. The numbers you work with do not reflect the reality when you go to actually measure them, it's a problem when you need pixel perfect positioning of something.
try with your code
and verify where they are in reality by counting actual pixels
that work for y, but the windows are not positioned at 200 and 300.
Anyway all these are just workarounds for a specific problem, the point is you don't get reliable information when using PB commands to query windows' metrics. The numbers you work with do not reflect the reality when you go to actually measure them, it's a problem when you need pixel perfect positioning of something.
try with your code
Code: Select all
Debug WindowX(0,#PB_Window_FrameCoordinate)
Debug WindowX(0,#PB_Window_InnerCoordinate)
Debug WindowX(1,#PB_Window_FrameCoordinate)
Debug WindowX(1,#PB_Window_InnerCoordinate)