flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
decard
FASM handles resources in a different way. You can do it in two ways:
1) use resource macroses (see FASM examples, especially dialog.asm) 2) create resource file using some resource editor, compile it to *.res file and create resource section from this file: Code: section '.res' resource from 'my_res_file.res' data readable |
|||
![]() |
|
eet_1024
Here's how you would describe that control using the macros:
Code: section '.rsrc' resource data readable directory RT_DIALOG,dialogs resource dialogs, 37, LANG_ENGLISH+SUBLANG_DEFAULT, MyDialogLabel dialog MyDialogLabel,'My Dialog Box',216,140,332,218,WS_CAPTION or WS_POPUP or WS_SYSMENU or DS_MODALFRAME dialogitem "IDC_PROGRESS", "msctls_progress32", 2001, 2, 121, 230, 10, PBS_SMOOTH or WS_CHILD or WS_VISIBLE enddialog |
|||
![]() |
|
n0p
Thnx 2 All! That's all i want to find out!
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.