flat assembler
Message board for the users of flat assembler.
Index
> Windows > EDITbox - CRLF ? |
Author |
|
ouadji 30 Jan 2011, 01:55
How to display carriage return in an editbox? (to display multiple lines) thank you. |
|||
30 Jan 2011, 01:55 |
|
edfed 30 Jan 2011, 02:20
he means showing the code as ascii view in hexadecimal editor i think.
"CRLF" string can be cool!!! to separate lines on only one line. org 100h CRLF mov ax,13h CRLF int 10h CRLF or find what char you want. it is a totally free choice!!! org 100h mov ax,13h int 10h |
|||
30 Jan 2011, 02:20 |
|
ouadji 30 Jan 2011, 08:18
"ES_MULTILINE " i know that, but it doesn't solve my problem. Or do you want to display ¶ or ↲ at the end of each line? <--- yes ! Code: string_a db 'a',0 string_b db 'b',0 invoke SendMessage,[hwnd],WM_SETTEXT,0,string_a invoke SendMessage,[hwnd],WM_SETTEXT,0,string_b ;..... (10 lines) ;result ;a ;b ;... or do I need to use something other than an edit box? @edfed: int 10h ? with Windows WP ? |
|||
30 Jan 2011, 08:18 |
|
revolution 30 Jan 2011, 09:27
Subclass the edit box.
|
|||
30 Jan 2011, 09:27 |
|
ouadji 30 Jan 2011, 09:39
thank you for your reply revolution, Quote:
can you help me ? (thank you) |
|||
30 Jan 2011, 09:39 |
|
revolution 30 Jan 2011, 10:08
Code: invoke SetWindowLong,[edithwnd],GWL_WNDPROC,MyDrawProc ;... proc MyDrawProc,... cmp [msg],wm_paint je .do_my_custom_draw invoke CallWindowProc,... ;... |
|||
30 Jan 2011, 10:08 |
|
ouadji 30 Jan 2011, 10:34
ok, thank you, understood. but ... is there another way to simply display multiple lines of text in a window ? |
|||
30 Jan 2011, 10:34 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.