Take a look at MemoPad's EditViewLoadRecord() from the SDK Examples.

It has

#############################################################################
// If the record is secret and secret records are hidden, then the record isn't
// accounted for by MemosInCategory.  Adjust it, and EditViewSaveRecord will
// adjust when done with the record.
if ((PrivateRecordVisualStatus == hidePrivateRecords) && (attr & dmRecAttrSecret))
MemosInCategory++;
#############################################################################

I can't figure it out if this ever happens.

If you are just loading a record then it can't be hidden. Am I missing
something?

The same operation in EditViewSaveRecord() makes sense since the secret
attribute of the memo could have been set while editing it.

Any ideas? /PaulN

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

Reply via email to