flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
farrier
slacker116,
Return eax = 1 for windows messages "you" process in your dlg_proc. hth, farrier _________________ Some Assembly Required It's a good day to code! U.S.Constitution; Bill of Rights; Amendment 1: ... the right of the people peaceably to assemble, ... The code is dark, and full of errors! |
|||
![]() |
|
slacker116
thanks, i forgot, but after i added that it still doesn't show anything, is the only way to use resources by including it in the source?(the .rsrc section) or am i compiling it wrong? i used the mingw's windres resource compiler
|
|||
![]() |
|
Yardman
[ Post removed by author. ]
Last edited by Yardman on 04 Apr 2012, 02:22; edited 1 time in total |
|||
![]() |
|
slacker116
Thanks, i knew about that, i was just wondering how/if its possible to use a .res file instead
also, is there a .rc converter to fasm syntax? |
|||
![]() |
|
Yardman
[ Post removed by author. ]
Last edited by Yardman on 04 Apr 2012, 02:22; edited 1 time in total |
|||
![]() |
|
slacker116
Awesome, Thanks, Yardman but any ideas why just including .res file doesn't work?
|
|||
![]() |
|
Yardman
[ Post removed by author. ]
Last edited by Yardman on 04 Apr 2012, 02:24; edited 2 times in total |
|||
![]() |
|
farrier
slacker116,
The first thing I should have said was: "Check the return value from DialogBoxParam." This may give you the clue you need. It may also be somewhat vague about what you need to do fix your problem. hth, farrier _________________ Some Assembly Required It's a good day to code! U.S.Constitution; Bill of Rights; Amendment 1: ... the right of the people peaceably to assemble, ... The code is dark, and full of errors! |
|||
![]() |
|
slacker116
Oh, i forgot the readable flag in the section '.rsrc' line! ok, that fixed it, it works! thanks guys!
but rc-converter doesn't seem to convert the dialog in the .rc file, it does the menu, but not the dialog. Also, there seems to be no way to specify a menu for the dialog template resource. is this possible? |
|||
![]() |
|
shoorick
you may try this converter: it converts only dialogs from rc, but all other enough simple to write directly in the resource section by hands. it should process menu statements.
here is an example
_________________ UNICODE forever! |
|||||||||||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.