flat assembler
Message board for the users of flat assembler.
Index
> Windows > Study of the file Template.asm |
Author |
|
AsmGuru62 31 Oct 2014, 14:13
1) FASMWIN32 is a class name for a main application window. Main application window should not be a predefined class, like "STATIC" or "EDIT" or "BUTTON".
2) If you seach the code and check where else "WindowProc" is mentioned - you will see that it is used to initialize WNDCLASS structure, which in turn used to register a class name ("FASMWIN32"). Basically, you telling Windows: "Here is a pointer to WindowProc function, call it when needed." That is how it is "launched". There is no jump to it - Windows calls it for events, or messages, which are the basis for any windows program. |
|||
31 Oct 2014, 14:13 |
|
Traxler 31 Oct 2014, 14:53
thank you for help, but the second point is quite complicated to understand for a beginner .Would there be a place to find more detailed info of help?
|
|||
31 Oct 2014, 14:53 |
|
AsmGuru62 31 Oct 2014, 18:12
Try this site - it seems a good place to start:
http://www.win32developer.com/tutorial/windows/windows_tutorial_2.shtm |
|||
31 Oct 2014, 18:12 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.