I am creating a form using PilRC. My form is called MainForm and it has two buttons, MainOrderEntryButton and MainCommunicationsButton.
I have a MenuBar named MainFormMenuBar attached to the MainForm. The Menu Bar has two Pulldown menus. The first is titled Configuration with two Menuitems, IDs=ConfigurationUser and ConfigurationSystem. The second has one Menuitem, ID=OptionsAboutMerchandising.
The autogenerated PilRC header file is creating these resources as follows: #define MainForm 1001 #define MainOrderEntryButton 1002 #define MainCommunicationsButton 1003 #define ConfigurationUser 1001 #define ConfigurationSystem 1002 #define OptionsAboutMerchandising 1003
Chris, are you using the GENERATEHEADER and RESETAUTOID commands in PilRC? If so, do you ever RESETAUTOID to the same value? That would explain the duplicated values.
-- Ben Combee, senior DTS engineer, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
