Take a look at the Memo Pad sample code. You'll see code like this:

        DmRecordInfo(MemoDB, CurrentRecord, &attr, NULL, NULL);
        attr &= ~dmRecAttrCategoryMask;
        attr |= category | dmRecAttrDirty;
        DmSetRecordInfo(MemoDB, CurrentRecord, &attr, NULL);

This assigns the category and sets the dirty bit, leaving all other record
attributes alone.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to