flat assembler
Message board for the users of flat assembler.

Index > Windows > Win API EditBox multiline. How show text from cursor pos ?

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 1766
Roman 20 Feb 2019, 13:58
My EditBox maximum show 12 text lines.
But have vertical scroll and 200 text lines.

I want show text in EditBox from 180 line.
How do this ?

Now i allway see first text line. And i must scroll text to 180 line.
Post 20 Feb 2019, 13:58
View user's profile Send private message Reply with quote
DimonSoft



Joined: 03 Mar 2010
Posts: 1228
Location: Belarus
DimonSoft 21 Feb 2019, 05:41
EM_SCROLLCARET might do the job, especially if you want the user to be able to edit the line of text. There’s EM_SCROLL as well but it requires you to know the initial scrolling position to scroll to a particular line, so might be a worse solution.
Post 21 Feb 2019, 05:41
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1766
Roman 21 Feb 2019, 05:57
Thanks.
Post 21 Feb 2019, 05:57
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.