Support Board
Date/Time: Tue, 21 Jan 2025 10:51:24 +0000
How to Get HWND Handle for a Chart?
View Count: 660
[2018-08-20 11:31:17] |
BlakJak - Posts: 108 |
I need to create a new modeless window for my study and want it to be a child of the Chart Window that the study is added in so that when my chart closes, the new study window closes as well. I tried "EnumWindows" to get the chart specific handle but all the disconnected charts appear to have the same name "SCDW_FloatingChartClient" so I cannot identify my specific chart from that. I was thinking of saving it in a persistent pointer variable during the call to p_GDIFunction but I was hoping to find a more elegant solution. Is there a better way to catch the HWND of the chart that my study is in? |
To post a message in this thread, you need to log in with your Sierra Chart account: