Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 21:20:21 +0000



Post From: What should be the HINSTANCE value with Sierra Chart?

[2021-04-08 09:35:07]
User310645 - Posts: 49
If you mean a new window for doing your own drawing then the Sierra exe handle. This can be obtained from the windows API call GetModuleHandle(NULL).

If common control windows (edit boxes/buttons etc) then the hInstance of the window you are drawing in. (ie the window provided by Sierra through SCStudyInterfaceRef.ChartWindowHandle or the above value for the new window).