Symbian system introduction
来源:
作者:Stand originally
时间:2008-12-21
Tag:
点击:
TBuf<64>Buf;
CEikonEnv: Static()->ReadResource(Buf, r_EXAMPLE_VIEW_TITLE);
Defining a the biggest length first is the buffer of 64, read in a resource that is R_EXAMPLE_VIEW_TITLE next.
Again for example:
" ; of caption of demonstrative window of TText8 *str = (TText8*) "
TPtrC8 Source(Str);IInfoText = HBufC: NewL(Source.Length() );
TPtr16 Ptr = IInfoText->Des();
Define a 8 string Str, construct next Source of constant of a finger, define a 16 finger again according to Source length, did not write here next, but the apparent changeover that should be a Gbk is Unicode.
The resource file of Symbian is patulous name with Rss commonly, without technical resource file editor, the user must open Rss file handiwork to write Rss document with notebook. This has certain regulation and method, referenced example writes his resource document not hard. Need an attention is, if Chinese is included in resource file, must keep the file additionally so the ability that is Utf-8 format but.
最新评论共有 0 位网友发表了评论
查看所有评论
发表评论

