Login Page - Create Account

Support Board


Date/Time: Wed, 12 Aug 2020 15:46:11 +0000



[User Discussion] - GDI text scrolls with prices

[2015-07-12 18:12:23]
User231363 - Posts: 31 | Ending Date: 2020-02-15 [Expired]
I have written a GDI program in ACSIL that draws rectangles which (correctly) stay at the same position in the chart window all the time.
But, if I add GDI text, the text scrolls as the chart price axis is adjusted. I have tried 2 methods of adding GDI text without success.
    TextOut(hDC, meterLeft, askBarTop, TEXT("50000"), 6);
    DrawText(hDC, TEXT("45000"), strlen("45000"), &rec, DT_TOP | DT_LEFT);


Is there a special setup for GDI text in SC that I should be using to keep the text at the same window position?

thanks!

To post a message in this thread, you need to login with your Sierra Chart account:

Login

Login Page - Create Account