Hi all, Palm OS provides the shortcuts feature, where users can draw a shortcut symbol, and then the macro names. I would like to provide a dialog box where users can choose the macros, instead of writing the graffiti.
So I would need to display something similar to the Preferences applications, which provide ways to create or edit a shortcut. I have tried the GrfGetMacroName() and GrfGetAndExpandMacro() API. But I have seen some limitations and would like to know if anyone has the solution. 1) I am not able to get the number of shortcuts available. I am only able to call GrfGetMacroName() repetitively from index zero, until it returns an error. 2) GrfGetMacroName() does not return the macros in alpabetical order. Does that mean I have to perform sorting myself? It does not seem efficient to me, if there are a lot of shortcuts. The Preferences application display the macros in sorted order. How is it done? Any idea? Thank you very much. Best Regards, Tony Cheung -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
