flat assembler
Message board for the users of flat assembler.
Index
> Windows > How to add ProgressBar? |
Author |
|
decard 06 Jan 2004, 18:01
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 |
|||
06 Jan 2004, 18:01 |
|
eet_1024 07 Jan 2004, 22:23
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 |
|||
07 Jan 2004, 22:23 |
|
n0p 22 Jan 2004, 18:55
Thnx 2 All! That's all i want to find out!
|
|||
22 Jan 2004, 18:55 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.