flat assembler
Message board for the users of flat assembler.
Index
> Windows > Dialog resource problem [Newbie] |
Author |
|
farrier 20 May 2007, 05:46
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! |
|||
20 May 2007, 05:46 |
|
slacker116 20 May 2007, 20:53
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
|
|||
20 May 2007, 20:53 |
|
Yardman 20 May 2007, 23:27
[ Post removed by author. ]
Last edited by Yardman on 04 Apr 2012, 02:22; edited 1 time in total |
|||
20 May 2007, 23:27 |
|
slacker116 24 May 2007, 22:22
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? |
|||
24 May 2007, 22:22 |
|
Yardman 24 May 2007, 23:34
[ Post removed by author. ]
Last edited by Yardman on 04 Apr 2012, 02:22; edited 1 time in total |
|||
24 May 2007, 23:34 |
|
slacker116 25 May 2007, 00:33
Awesome, Thanks, Yardman but any ideas why just including .res file doesn't work?
|
|||
25 May 2007, 00:33 |
|
Yardman 25 May 2007, 04:56
[ Post removed by author. ]
Last edited by Yardman on 04 Apr 2012, 02:24; edited 2 times in total |
|||
25 May 2007, 04:56 |
|
farrier 25 May 2007, 06:42
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! |
|||
25 May 2007, 06:42 |
|
slacker116 28 May 2007, 20:35
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? |
|||
28 May 2007, 20:35 |
|
shoorick 29 May 2007, 05:23
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! |
|||||||||||
29 May 2007, 05:23 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.