如何让程序在任务栏窗口-CE
如何让C#程序,它会在任务栏上所有的时间?
how to make C# program that will be All time in the taskbar ?
我想建立一个键盘程序。
i want to Build a Keyboard program.
我需要,当我打开设备的程序将打开,并在任务栏上。
i need that when i open the device the program will open and be in the taskbar.
另外一个问题是,当我有一个外部的程序有一个文本框,如何
another question is, when i have an external program that has a Textbox, how
做,当我按任意键在我的C#的键盘它会在这个外部文本框?
to make that when i press any key in my C# keyboard it will be in this external Textbox ?
感谢的提前
这不是在CF实施,但NotifyIcon的类是你追求的。 自卫队做的实现它。它将被用来这样的:
It's not implemented in the CF, but the NotifyIcon class is what you're after. The SDF does implement it. It would be used something like this:
m_notifyIcon = new NotifyIcon();
m_notifyIcon.Icon = this.Icon;
m_notifyIcon.Visible = true;
m_notifyIcon.Click += new EventHandler(m_notifyIcon_Click);
m_notifyIcon.DoubleClick += new EventHandler(m_notifyIcon_DoubleClick);
修改
如果你想自己实现,开始的地方与 Shell_NotifyIcon API。你会想把手把它传递给一个消息窗类并处理WM_NOTIFY消息。
If you want to implement this yourself, the place to start is with the Shell_NotifyIcon API. You'll want to pass it the handle to a MessageWindow class and handle the WM_NOTIFY messages.