>How to obtain in code my application "version string", which is set in
>constructor?
Here's a function that will do that:
void UTDrawVersionInfo
(
Coord x, // ( in ) drawing x coordinate
Coord y // ( in ) drawing y coordinate
)
{
MemHandle resH;
Char * resP;
Char line [ 15 ];
StrCopy ( line, "Version " );
resH = DmGetResource ( verRsc, 1000 );
resP = ( Char * ) MemHandleLock ( resH );
StrCat ( line, resP );
MemHandleUnlock ( resH );
DmReleaseResource ( resH );
WinDrawChars ( line, StrLen ( line ), x, y );
}
--
-------------------------------------------
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
-------------------------------------------
805.784.9461 805.784.9462 (fax)
[EMAIL PROTECTED] http://www.cdpubs.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/