Support Board
Date/Time: Mon, 03 Nov 2025 02:57:56 +0000
Post From: How to Get HWND Handle for a Chart?
| [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? |
