Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   Need Help With Masm Dialog Resource File Data (https://forum.exetools.com/showthread.php?t=9219)

kittmaster 02-18-2006 07:37

Need Help With Masm Dialog Resource File Data
 
Hey guys,

I'm working with ziggy's keygen 0 template and have some questions regarding the window sizing parameter inn the rcsc.rc file

Below is the code with text of what I understand and the questions in which I don't. I've done some searching on google and the help files don't tell me anything. So if you could clarify I might be well on my way!

1 DIALOGEX 0, 0, 225, 85, 0 <<<< 0?, 0?, 225 I found is length, 85 is width, 0?....???? Lost on the numbering
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_VISIBLE | WS_DLGFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX <<<understood
EXSTYLE WS_EX_STATICEDGE
CAPTION "Kittmaster's Keygen"<<<understood
FONT 7, "MS SANS SERIF"<<<understood

BEGIN
ICON 3, 1, 4, 4, 35, 35 ; place application icon top left of dialog box <<<<Makes sense, but what do the numbers do? I think the 35 35 is the height and width, but what about the rest????

EDITTEXT 1002, 33, 26, 183, 10, NOT WS_BORDER | ES_CENTER, WS_EX_STATICEDGE <<<<<< I know the 1002 is the command variable from the asm file, but what does the rest of the number do? I think they are offsets, but offset to what and where???...........I may need some RTFM help, but where IS the manual that explains this part? The border, center, staticedge I get


EDITTEXT 1003, 33, 44, 183, 10, NOT WS_TABSTOP | NOT WS_BORDER | ES_CENTER | <<<<see above

ES_AUTOHSCROLL | ES_NOHIDESEL | ES_READONLY, WS_EX_STATICEDGE
PUSHBUTTON "Generate", 1005, 50, 65, 50, 12, BS_CENTER | BS_VCENTER, WS_EX_STATICEDGE<<<understood
PUSHBUTTON "Copy", 1006, 122, 65, 30, 12, BS_CENTER | BS_VCENTER, WS_EX_STATICEDGE<<<understood
PUSHBUTTON "About", 1007, 156, 65, 30, 12, BS_CENTER | BS_VCENTER, WS_EX_STATICEDGE<<<understood
PUSHBUTTON "Close", 1004, 189, 65, 30, 12, BS_CENTER | BS_VCENTER, WS_EX_STATICEDGE<<<understood

CTEXT "Appname", 1001, 33, 8, 183, 10, SS_SUNKEN, WS_EX_STATICEDGE <<<understood except numbers??
LTEXT "Name", 4, 5, 26, 26, 10 <<<understood except numbering
LTEXT "Serial", 5, 4, 44, 26, 10<<<understood except numbering

Innocent 02-18-2006 08:14

The numbers have to do with the position of the object. Don't bother looking at the resource file text; use a resource editor to work with the file. Winasm Studio is a free IDE that you can use.

kittmaster 02-18-2006 09:15

I registered at the site, but when I click on the "download full package" it launches in ie and give a hex dump of the file. I tried flashget and it downloads the .php file......... :rolleyes:

Is there another direct source around that can properly deliever it?

I've google the "winasm.zip" and not much in return.......thanks for the tip......

UPDATE: I found 3.0 and starting with that to make the changes

Chris


All times are GMT +8. The time now is 15:16.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX