如何在WM 6.5.3中创建仅具有图标/图像的软键,如消息应用程序 [英] How to create soft key with only icon/image like messaging application in WM 6.5.3

查看:64
本文介绍了如何在WM 6.5.3中创建仅具有图标/图像的软键,如消息应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在WindowsMo​​bile 6.5.3中创建带有图标/图像作为消息应用程序的软键。

I want to create the soft key with icon/image as messaging application in WindowsMobile 6.5.3.

我可以创建如下屏幕截图。我为菜单设置了图像,但文本也出现在软键中。

I am able to create like below screen shot. I have set the image for Menu but the text also appears in the soft key.

我使用以下代码设置图标。
TBBUTTONINFO tbi = {0,};
tbi.cbSize = sizeof(TBBUTTONINFO);
tbi.dwMask = TBIF_IMAGE | TBIF_BYINDEX;
tbi.iImage = SHCMBF_THEME_ICON_MENU;
SendMessage(g_hWndMenuBar,TB_SETBUTTONINFO,(WPARAM)1,(LPARAM)& tbi);

我尝试从软键中删除文本,它工作正常。但是,当我点击并按住软键时,我想要工具提示。

是否有任何方法只显示软键中的图标,工具提示为消息应用程序?

I set the icon using the below code.
TBBUTTONINFO tbi = {0, } ;
tbi.cbSize = sizeof (TBBUTTONINFO) ;
tbi.dwMask = TBIF_IMAGE | TBIF_BYINDEX ;
tbi.iImage = SHCMBF_THEME_ICON_MENU ;
SendMessage (g_hWndMenuBar, TB_SETBUTTONINFO, (WPARAM)1, (LPARAM)&tbi) ;

I tried removing the text from the soft key and it worked fine. But I want the tool tip to come when doing tap and hold on the soft key.

Is there any way to show only icon in soft key with tool tip as Messaging application?

推荐答案

您好Vishwabharathi,

Hi Vishwabharat

这两张图片没有显示,请检查。

The two images doesn't show, please check it.

 

致以诚挚的问候,
Guang-Ming Bian - MSFT

Best regards,
Guang-Ming Bian - MSFT


这篇关于如何在WM 6.5.3中创建仅具有图标/图像的软键,如消息应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆