flat assembler
Message board for the users of flat assembler.

Index > Windows > Resource macro

Author
Thread Post new topic Reply to topic
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
When using FASM Resource Macros like this code in this thread:
http://board.flatassembler.net/topic.php?t=4579
how do you know the size of the dialogs, buttons, etc?
If these are edited by hand, how to know x and y of a button to be placed in the right place?

Thanks
Post 04 Jan 2006, 18:57
View user's profile Send private message Reply with quote
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend
The best would be IMHO to create first a template in some external app. If not, just try some values, compile and eventually move, enlarge, etc. your buttons... You'll learn once circa how big x and y to give.
Post 04 Jan 2006, 21:27
View user's profile Send private message Visit poster's website Reply with quote
farrier



Joined: 26 Aug 2004
Posts: 274
Location: North Central Mississippi
farrier
OzzY,

I would recommend using a resource editor to do the design, and then use the sizes and coordinates produced from the editor. I would recommend KetilO's fine free products. RadASM is a full IDE with resource editor, and ResEd is a standalone resource editor. www.RadASM.com click on RadASM Projects and download resed.zip

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!
Post 04 Jan 2006, 21:46
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.