Author Topic: Download Ketil Olsen's ResEd 2207.  (Read 10213 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 4753
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Download Ketil Olsen's ResEd 2207.
« 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.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 4753
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Download Ketil Olsen's ResEd 2207.
« Reply #1 on: June 24, 2012, 12:28:28 AM »
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 at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 4753
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Download Ketil Olsen's ResEd 2207.
« Reply #2 on: July 08, 2012, 08:23:42 PM »
This is a demo using ResEd that deals with button style controls, specifically radio buttons, check boxes and ordinary push buttons.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 4753
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Download Ketil Olsen's ResEd 2207.
« Reply #3 on: July 09, 2012, 12:28:51 AM »
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.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

Evan_

  • Guest
Re: Download Ketil Olsen's ResEd 2207.
« Reply #4 on: December 20, 2013, 09:38:12 PM »
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_

  • Guest
Re: Download Ketil Olsen's ResEd 2207.
« Reply #5 on: December 20, 2013, 10:08:30 PM »
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

  • Member
  • *****
  • Posts: 8733
  • Still using Abacus 2.0
    • DednDave
Re: Download Ketil Olsen's ResEd 2207.
« Reply #6 on: December 21, 2013, 05:24:16 AM »
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

  • Global Moderator
  • Member
  • *****
  • Posts: 1209
Re: Download Ketil Olsen's ResEd 2207.
« Reply #7 on: December 21, 2013, 11:22:20 AM »
Well Microsoft, here’s another nice mess you’ve gotten us into.

Vortex

  • Member
  • *****
  • Posts: 1692
Re: Download Ketil Olsen's ResEd 2207.
« Reply #8 on: December 21, 2013, 08:25:36 PM »
Hi Evan,

You can check the help file :

Quote
\masm32\bin\rc.hlp

dedndave

  • Member
  • *****
  • Posts: 8733
  • Still using Abacus 2.0
    • DednDave
Re: Download Ketil Olsen's ResEd 2207.
« Reply #9 on: December 21, 2013, 08:40:17 PM »
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
Code: [Select]
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
 }
}