--- George Aslanis wrote:
> 
> Is it possible to assign a string name to a string resource 
> in a .rcp file so it can be referenced in code by the string 
> name?
> 
> STRING ID 2501 "\A9 This is a test string for the browser"
> 
> FormHelp(strHelpBrowser);
> 

Yes.  For example:

in ResourceDefines.h:
  #define strHelpBrowser 2501

in Resources.rcp:
  #include "ResourceDefines.h"
  STRING ID strHelpBrowser "\A9 This is a test string for the browser"

in your .c file:
  #include "ResourceDefines.h"
  // ...
  FrmHelp( strHelpBrowser )


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

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