How to draw a bitmap item in the languagebar item using ITFLangBarItemBitmap interface.

B

bibozheng

Hello!

I am learning TSF and want to implement a text service, according to the sample code provided by MS. It could add a language bar item with menu style using the ITFLangBarItemButton interface. But can I draw a bitmap language bar item with the size 64px(width) by 16px(height) using the ITFLangBarItemBitmap?(I want to show 4 Chinese characters on it). There are 3 methods provided by ITFLangBarItemBitmap, OnClick,GetPreferredSize and DrawBitmap, How to use the methods GetPreferredSize and DrawBitmap? The docs in the ms website is so simple. Can you give me some sample codes or tell me how to use these three methods. Flowing charts are also OK.

Thanks very much!

Continue reading...
 
Back
Top Bottom