flat assembler
Message board for the users of flat assembler.
Index
> Windows > Dialogbox Class how to? |
Author |
|
Kevin_Zheng 19 Mar 2004, 04:13
Hi,alonso:
Fortuntately, I have finished the work for implementing class attribute on dialog resource. Please see the belowin url: http://board.flatassembler.net/topic.php?p=8020#8020 Please look at the file modeless.asm of the fasm_hll_kit.zip, It have finished the request. Code: macro dialog label,class,title,x,y,cx,cy,style,menu,exstyle,fontname,fontsize { local data,size,items label dd RVA data,size,0,0 data dd style or DS_SETFONT,exstyle +0 dw items,x,y,cx,cy if menu+0 <> 0 dw 0FFFFh end if if ~class eq du menu+0,class,0,title,0 else du menu+0,0,title,0 end if if fontname eq du 8,'MS Sans Serif',0 else du fontsize+0,fontname,0 end if align 4 dialog_size equ size = $ - data dialog_items equ items = dialog_items_counter dialog_items_counter = 0 } |
|||
19 Mar 2004, 04:13 |
|
alonso 19 Mar 2004, 22:16
THANKS ALOT KEVIN YOUR CODE IS SMARTER THAN MINE!
|
|||
19 Mar 2004, 22:16 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.