NO

Author Topic: POIDE RC editor fixes  (Read 2479 times)

severach

  • Guest
POIDE RC editor fixes
« on: November 12, 2006, 07:57:23 PM »
All numeric constants should be converted to symbols on save. POIDE fails to recognize a few.

POIDE doesn't recognize the numeric constant for DS_FIXEDSYS in a Dialog Box Standard STYLE. 0x8 is placed instead.

POIDE should not escape single quote when found in double quotes.
Code: [Select]
CAPTION "Pelle's C" // Right
CAPTION "Pelle\'s C" // Wrong

POIDE does not properly handle constants made from other constants
Code: [Select]
#define IDC_FIRST (0x400)
#define IDC_BUTTON1 IDC_FIRST+0
#define IDC_BUTTON2 IDC_FIRST+1
#define IDC_BUTTON3 IDC_FIRST+2
For these POIDE will sub in the numbers.
Code: [Select]
#define IDC_RUN IDOK
For this one, POIDE will sub in IDOK where IDC_RUN belongs.
POIDE has a problem with resource includes.
Code: [Select]
// MainResource.rc
#include "OtherResource.rc"

POIDE will save every resource in OtherResource into MainResource and leave OtherResource included. This creates another copy of all resources in OtherResources each time the RC is saved