Thanks to you guys for the good information

        Paul Taylor             : Using the resource editor is a helpful for all 
developers
        Danny Epstein   : You had the right idea...not quite the right place
        Ben Darnell     : You had it exactly right 'tAIN' 1000

My Problem:
> Can you programmatically change the application
> name that is displayed below the icon on the palm?

My Solution: 
        //these are the basic calls...check for errors in the appropriate places

        DmOpenRef appRef = DmOpenDatabaseByTypeCreator('appl',
                                                                        creatorID,
                                                                        
dmModeReadWrite);
        
        VoidHand hAppName=DmGetResource('tAIN',1000);
        
        if(newAppNameSize != MemHandleSize(hAppName))
                DmResizeResource(hAppName,newAppNameSize);
                
        pAppName = MemHandleLock(hAppName);
        DmWrite(pAppName,0,pNewAppName,newAppNameSize);
        MemHandleUnlock(hAppName);
        DmReleaseResource(hAppName);

        DmCloseDatabase(appRef);


Reply via email to