Resource accelerators change from named contstants to negative numbers on save

Started by severach, March 01, 2009, 10:50:11 PM

Previous topic - Next topic

severach


#define IDC_TEST 40000
100 ACCELERATORS DISCARDABLE
    VK_F1,          IDC_TEST ,        VIRTKEY, NOINVERT

The IDE interprets this fine but when it saves a negative number shows up in place of IDC_TEST.

    VK_F1,          -25536 ,        VIRTKEY, NOINVERT

It still works everywhere but losing the named constant makes code changes unsafe.