Changeset 1486 for trunk/dll/mainwnd2.c


Ignore:
Timestamp:
Dec 17, 2009, 1:36:04 AM (16 years ago)
Author:
Gregg Young
Message:

Initial changes to commands handling. Allows you to reorder commands menu without breaking toolbars and changing hotkeys. Fixes the environment so it is used and so it is deleted if the command is deleted. Allows for user defined bitmaps in toolbars which are named based on the text or the the ID of the command.The new commands.dat will not be usable with earlier versions of FM/2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/mainwnd2.c

    r1482 r1486  
    719719        break;
    720720      }
    721       x = SHORT1FROMMP(mp1) - IDM_COMMANDSTART;
     721      x = SHORT1FROMMP(mp1);// - IDM_COMMANDSTART;
    722722      if (x >= 0) {
    723         x++;
     723        //x++;
    724724        RunCommand(hwndCnr, x);
    725725        if (fUnHilite) {
Note: See TracChangeset for help on using the changeset viewer.