请大家多多帮忙呀,一个关于菜单触发的问题。 pocket pc开发,没试过. 帮你UP 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我想可不可以给你的程序加个消息过滤。当拦截到指定消息时,触发保存菜单。public class MyMessageFilter : IMessageFilter //过滤系统消息的对象。 { public bool PreFilterMessage(ref Message m) { if (m.Msg == 0x100) { {保存} } } }然后static void Main() {Application.AddMessageFilter( new MyMessageFilter() );//为你的程序添加过滤对象。Application.Run(new Form1()); } The menu associated with pword is on Command bar, so you should get the command bar.In eVC, you use:CCommandBarGetCommandBar. refer to ms-help://MS.MSDNQTR.2003JUL.1033/dv_wcemfc4/html/aforiCCeDocListMethods.htm http://www.pocketpcdn.com/articles/cmdbar_menu.html 跪求解决方案!急!!! 怎么转换CJK编码后的字面值 请问c#的源程序应该怎么组织啊 那个大蛱能教我的传参数、方法和类 listview里的group怎么设置名字呀? C#一个windows服务项目如何生成和安装? 如何获得 Calendar 控件表示 的第一天和最后一天 文本编辑器 大虾,哪里有英文式的时间控件? winform 中做出百度搜索一样的效果 我是新手,请教各位一下。 各位大虾,异或问题,请帮忙
public class MyMessageFilter : IMessageFilter //过滤系统消息的对象。
{
public bool PreFilterMessage(ref Message m)
{
if (m.Msg == 0x100)
{
{保存}
}
}
}然后
static void Main()
{
Application.AddMessageFilter( new MyMessageFilter() );//为你的程序添加过滤对象。
Application.Run(new Form1()); }
CCommandBar
GetCommandBar.
ms-help://MS.MSDNQTR.2003JUL.1033/dv_wcemfc4/html/aforiCCeDocListMethods.htm