> LstSetSelection ( list, -1 );

But it's much better programming practice to use the appropriate documented
symbolic names for constants:

    LstSetSelection ( list, noListSelection );

Wait, did I say "documented"?  Hmmm, the latest API documentation at...

    http://www.palmos.com/dev/support/docs/palmos/List.html#925429

...says to use the -1 magic number.  Bad doc!  Bad doc!

-slj-



-- 
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