>I'd like to take a quick poll: is the behavior described a feature or >a bug? Personally I'd like the API to create a list of databases that >matches the criteria I pass it without imposing it's own ideas of >what should be on that list.
SysCreateDataBaseList was written to make a list suitable for things like the Buttons panel... and yes, some UI-oriented choices were part of its definition. You might well be right that it "shouldn't" be this way, but it is, and therefore it needs to continue to have the same characteristics. This isn't a bug; it is intentional functionality, regardless of whether you and I think it was a good idea. In specific: if SysCreateDataBaseList is told to search for a specific type, but no creator is specified, and the type isn't that of a PQA, then it makes sure there's only one entry for each creator ID. I'll file a docs bug. If you want your own full list, just use DmGetNextDatabaseByTypeCreator and the other primitives, like SysCreateDataBaseList does. This routine doesn't do anything magic; you can easily do everything it does. -David Fedor Palm, Inc. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
