flat assembler
Message board for the users of flat assembler.
Index
> Windows > updating an edit control |
Author |
|
revolution 27 Aug 2011, 12:11
magicSqr wrote: How do I append text to this control? magicSqr wrote: ... or is there another way? |
|||
27 Aug 2011, 12:11 |
|
magicSqr 27 Aug 2011, 12:14
ok, thanks
|
|||
27 Aug 2011, 12:14 |
|
AsmGuru62 27 Aug 2011, 13:53
If the multiline control is empty initially, then just use EM_REPLACESEL without manipulation a caret or selection (which is caret, basically). At the end of each line add CR/LF if ES_WANTRETURN flag was set when control is created.
|
|||
27 Aug 2011, 13:53 |
|
magicSqr 27 Aug 2011, 14:40
Sorry asmGuru, I didn't really understand
Quote: then just use EM_REPLACESEL without manipulation a caret or selection (which is caret, basically). Yes, the control is initially empty. I'm performing calculations and want to output relevant results to the control as they are found, keeping previous results still showing. basically Code:
.loop:
calculate until correct result
update control
jmp .loop
magicSqr |
|||
27 Aug 2011, 14:40 |
|
AsmGuru62 28 Aug 2011, 11:44
Here is the link to EM_REPLACESEL:
http://msdn.microsoft.com/en-us/library/bb761633(v=vs.85).aspx Just pass parameters as it says there. (Not all links are parsed properly by the forum. If I put the tags around it - the post is empty.) |
|||
28 Aug 2011, 11:44 |
|
magicSqr 28 Aug 2011, 13:08
Brilliant
Many thanks for that AsmGuru |
|||
28 Aug 2011, 13:08 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.