News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Download Ketil Olsen's ResEd 2207.

Started by hutch--, June 07, 2012, 10:06:03 AM

Previous topic - Next topic

hutch--

This is the later version of Ketil Olsen's ResEd dialog editor. It has been downloaded from the link that Ketil provided in the RadAsm IDE subforum.

As before, a very good tool that requires some practice to learn its capacity but once mastered it puts dialogs of high complexity within easy reach.

hutch--

Here is a simple dialog with 2 controls on it where the RC script was written using ResEd.

I have left the C equates in the RC file but in the source file I have used the raw numbers as it is a personal preference to using equates.

hutch--

This is a demo using ResEd that deals with button style controls, specifically radio buttons, check boxes and ordinary push buttons.

hutch--

Here is a simple demo of loading a resource bitmap into a static control. You may like the 1960s image of Marilyn Monroe.

NOTE that to rebuild the demo you nee to run makeit.bat as the res and resource obj files were removed so that the zip file would fit into the forum limit.

Evan_

Quote from: hutch-- on June 07, 2012, 10:06:03 AM
This is the later version of Ketil Olsen's ResEd dialog editor. It has been downloaded from the link that Ketil provided in the RadAsm IDE subforum.

As before, a very good tool that requires some practice to learn its capacity but once mastered it puts dialogs of high complexity within easy reach.
Please explain dialog data type.

Evan_

Quote from: not me on December 20, 2013, 09:38:12 PM
Quote from: hutch-- on June 07, 2012, 10:06:03 AM
This is the later version of Ketil Olsen's ResEd dialog editor. It has been downloaded from the link that Ketil provided in the RadAsm IDE subforum.

As before, a very good tool that requires some practice to learn its capacity but once mastered it puts dialogs of high complexity within easy reach.
Hey. I forced an error in there and got this after running as admin.
Good I think.
http://i.imgur.com/b5sUo6M.png
lol

dedndave

ResEd is a Resource file Editor

resource files are text files that use a C-like syntax
the resource file may then be compiled using a resource compiler
then, it may be linked with a program object to create an EXE with resources

typical resources might be icons, images, dialogs boxes with controls, menus, or manifests
they could also be cursors, accelerators, fonts, or raw binary data

the biggest advantage of using ResEd is probably the creation of dialog boxes with controls
probably makes menu creation a little easier, too

MichaelW

Well Microsoft, here's another nice mess you've gotten us into.

Vortex

Hi Evan,

You can check the help file :

Quote\masm32\bin\rc.hlp

dedndave

and - it helps to look at all the example programs that use resource files, as well
just look for folders that contain files with the .RC extension - they are plain text files

attached is a small example of an MDI window program with menu accelerators

this is an example of a main menu, using C-style braces syntax, rather than BEGIN/END
IDM_MAIN_MENU MENUEX DISCARDABLE
{
POPUP    "File",                -1,                MFT_STRING,     MFS_ENABLED, 0
{
  MENUITEM "Open Map Image",     IDM_FILE_OPENMAP
  MENUITEM "Save As...",         IDM_FILE_SAVEAS,   MFT_STRING,     MFS_DISABLED
  MENUITEM "",                   -1,                MFT_SEPARATOR,  MFS_DISABLED
  MENUITEM "Exit",               IDM_FILE_EXIT
}
POPUP    "Edit",                -1,                MFT_STRING,     MFS_ENABLED, 0
{
  MENUITEM "Copy",               IDM_EDIT_COPY,     MFT_STRING,     MFS_DISABLED
  MENUITEM "Paste",              IDM_EDIT_PASTE,    MFT_STRING,     MFS_DISABLED
}
POPUP    "View",                -1,                MFT_STRING,     MFS_ENABLED, 0
{
  POPUP    "Map Inset",          -1,                MFT_STRING,     MFS_ENABLED, 0
  {
   MENUITEM "Show Map Inset",    IDM_VIEW_MAPINSET, MFT_STRING,     MFS_UNCHECKED
   POPUP    "Zoom Modes",        -1,                MFT_STRING,     MFS_ENABLED, 0
   {
    POPUP    "Enlarge",          -1,                MFT_STRING,     MFS_ENABLED, 0
    {
     MENUITEM "Color-on-Color",  IDM_MAP_ENL_CC,    MFT_RADIOCHECK, MFS_UNCHECKED
     MENUITEM "Half-Tone",       IDM_MAP_ENL_HT,    MFT_RADIOCHECK, MFS_DEFAULT|MFS_CHECKED
    }
    POPUP    "Reduce",           -1,                MFT_STRING,     MFS_ENABLED, 0
    {
     MENUITEM "Color-on-Color",  IDM_MAP_RDC_CC,    MFT_RADIOCHECK, MFS_DEFAULT|MFS_UNCHECKED
     MENUITEM "Half-Tone",       IDM_MAP_RDC_HT,    MFT_RADIOCHECK, MFS_CHECKED
    }
   }
   POPUP     "Background Color", -1,                MFT_STRING,     MFS_ENABLED, 0
   {
    MENUITEM "Choose Color",     IDM_MAP_BGCOLOR
    MENUITEM "Reset Colors",     IDM_MAP_BGCLRRST
   }
  }
}
POPUP    "Help",                -1,                MFT_STRING,     MFS_ENABLED, 0
{
  MENUITEM "Help",               IDM_HELP_HELP,     MFT_STRING,     MFS_DISABLED
  MENUITEM "About",              IDM_HELP_ABOUT
}
}