Login Page - Create Account

Support Board


Date/Time: Sat, 21 Dec 2024 18:35:03 +0000



[User Discussion] - GDI text scrolls with prices

View Count: 1283

[2015-07-12 18:12:23]
User231363 - Posts: 31
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 log in with your Sierra Chart account:

Login

Login Page - Create Account