flat assembler
Message board for the users of flat assembler.
Index
> Windows > Fresh and Resources |
Author |
|
JohnFound 24 Feb 2005, 07:23
Because of too limited features of resource dialogs, Fresh uses it's own libraries for creating forms (modal and modeless). The create information is stored in the code in the program, but maybe in the future it will be stored in resource section as RC_DATA resource or in data section. (actually I don't know whether it worths at all).
If you want to see exactly what contains .frm file, open it with some other than Fresh editor - for example FASMW. You will see something like: Code: ;<ff Window frmEditorOptions, 3, 0, 'TForm', 'Editor options', $6480000, $10001, 0, 212, 183, 460, 320, EditorOptionsProc; Window NONE, 0, 1, 'SysListView32', 'ListView', $5001208C, $200, 1000, 0, 0, 128, 293, 0; Window NONE, 1, 3, 'TForm', 'Form', $50010000, $10100, 1001, 128, 0, 324, 40, ThemesPanelWinProc; Window NONE, 0, 0, 'STATIC', 'T&hemes:', $50000202, $0, 0, 4, 8, 40, 21, 0; Window NONE, 0, 0, 'BUTTON', '&Save', $50010000, $0, 103, 238, 8, 40, 21, 0; Window NONE, 0, 0, 'BUTTON', '&Load', $50010000, $0, 102, 282, 8, 40, 21, 0; Window NONE, 2, 0, 'COMBOBOX', '', $50010002, $10000, 101, 48, 8, 184, 150, 0; Window NONE, 3, 4, 'TForm', 'Form', $50010000, $10100, 0, 128, 253, 324, 40, 0; Window NONE, 0, 0, 'BUTTON', 'OK', $50010001, $0, 1, 184, 8, 64, 25, 0; Window NONE, 2, 0, 'BUTTON', 'Cancel', $50010000, $0, 2, 256, 8, 64, 25, 0; ;ff> "Window" is macro, defined in "templates.inc". Check also: "templates.asm", "tform.*", "parents.*", "msgutils.asm" - all in "include/libs/" Note, that in the moment I am working on new component engine, that will be a lot more powerfull (and I hope more compact) than the engine used in present versions. It uses streamed data for component descriptions and supports creating and initializing visual and non-visual components - windows, image lists, menus, data base components, etc. For preview (very draft) of this new approach, you can read the article in Fresh Wiki: http://fresh.flatassembler.net/wiki/index.php?StreamGui There is demo project as well. Regards. |
|||
24 Feb 2005, 07:23 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.