Support Board
Date/Time: Tue, 25 Feb 2025 20:32:00 +0000
[Programming Help] - Coordinates of Chart Window in Sierra Chart
View Count: 657
[2021-04-22 18:16:35] |
User741184 - Posts: 44 |
Hi, How to get the coordinates of the Chart Window using ASCIL? |
[2021-04-22 18:26:12] |
John - SC Support - Posts: 38165 |
Refer to the four variables starting here: ACSIL Interface Members - Variables and Arrays: sc.ChartRegion1BottomCoordinate For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2021-04-22 18:38:15] |
User741184 - Posts: 44 |
If I want to set the position of my WinApi window to the bottom left of the ChartWindow, which one of these will work? As there four coordinates are for the Chart Region 1 only.
|
[2021-04-24 11:58:54] |
User741184 - Posts: 44 |
How to get the bottom left coordinate of Chart Window in Sierra Chart? Not Chart Region 1 in particular.
|
[2021-04-24 12:18:45] |
User907968 - Posts: 833 |
Use the WinApi, for example - https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getclientrect
|
[2021-04-25 00:24:03] |
|
That function gets the client rectangle. You would want to get the Window rectangle. Instead.: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getwindowrect Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2021-04-25 00:29:16
|
To post a message in this thread, you need to log in with your Sierra Chart account: