Change the font of a CEikEdwin ?

Login to reply to this topic.
Tue, 2005-03-01 00:33
Joined: 2003-11-07
Forum posts: 15
Hi,

Has someone any idea on how I can change the font used by a CEikEdwin ?

Thanks Smiley

Thu, 2005-03-24 14:58
Joined: 2005-03-06
Forum posts: 34
Change the font of a CEikEdwin ?
Get its globaltext or richtext (you can cast tye) and use ApplyCharFormatL(...)
Wed, 2005-04-06 10:04
Joined: 2005-03-28
Forum posts: 6
Change the font of a CEikEdwin ?
Quote from: caoth
Get its globaltext or richtext (you can cast tye) and use ApplyCharFormatL(...)
Sounds like a good idea, but I would need some details. I have a pointer to a CEikEdwin object. How exactly to get its globaltext (CGlobalText) and what exactly to type-cast? Thanks!
Wed, 2005-04-06 10:51
Joined: 2005-03-28
Forum posts: 6
Change the font of a CEikEdwin ?
Answering my own question above:  (CGlobalText*) iEdwin->Text() gives an object to call ApplyCharFormatL().
Fri, 2006-07-14 07:40
Joined: 2006-07-14
Forum posts: 1
Re: Change the font of a CEikEdwin ?
Hi,
   After getting pointer to the CGLobalText ApplyCharFormatL() function doesn't work as expected, but SetGlobalCharFormat() fuction changed the font in the edit mode.But in view mode the default font is only displayed. I want to display my font in the view mode also. Can anyone help me in this regard?

Thanks in advance.
  • Login to reply to this topic.