flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
JohnFound 24 Dec 2004, 13:09
Well, dialog resources are too simple for some tasks. For example they can't contains child windows that have its own childs i.e. you can't create multi-level windows using dialog templates.
OTOH, dialog templates needs less memory and generaly make you program smaller. Though, there is one more way: Fresh standard library have set of template based features for advanced creating windows systems. You can create windows fully in visual way (or in source using macroses) and create instances of these forms in runtime, simply calling a procedure. It is hard to describe whole library here (someday, someone have to write a manual ![]() Regards |
|||
![]() |
|
vbVeryBeginner 24 Dec 2004, 13:11
PSDK July 2000 wrote:
i guess CreateWindowEx is a bit faster compare to CreateDialogParam coz CreateDialogParam uses CreateWindowEx to create it dialog :p |
|||
![]() |
|
IronFelix 24 Dec 2004, 13:19
Thanks, guys!
But what about size of EXE in case of Fresh way of creating a window with a lot of childs? Is it BE (from JBE instruction) dialog or not? And some words about child dialog boxes: you can create child dialog with resource compiler, and place it on the window in WM_INITDIALOG processing routine. It seems to be something like VCL TPanel (i mean child dialog). Thanks. |
|||
![]() |
|
JohnFound 24 Dec 2004, 13:46
IronFelix wrote: But what about size of EXE in case of Fresh way of creating a window with a lot of childs? Is it BE (from JBE instruction) dialog or not? If you are using Fresh library for only one window, it will definately larger than dialog based (another deal is that you have to write a lot of code to make some of the Fresh advanced features). But the Fresh library is pretty small, so if you have only several forms in your application, the size becomes pretty equal, because you reuse the routines, instead of writing your own code for every Window. So, if you want to write very small 1k..2k application, Fresh libraryes are not for you. If you need advanced window behaviour, action lists, menues with icons, etc. for middle to big sized application (at least 5k and up) Fresh libraryes will make it as small as possible. For example Fresh lib supports using of .gif images for button and menu icons, this can reduce your resource section many times, compared with .bmp images. Regards. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.