为桌面创建应用 [英] Creating an app for the Desktop

查看:67
本文介绍了为桌面创建应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,

我正在尝试为Windows 10桌面开发一个待办事项应用程序.我希望此应用始终在桌面上可见;几乎像小工具一样.是否有可以访问桌面的API?

I am trying to develop a to do list app for my windows 10 desktop. I want this app to be visible on the desktop at all times; pretty much behave like a gadget. Is there an API that gives access to the desktop?

如果我无法像小工具一样工作,我将决定将我的待办事项写到桌面上.

If I can't get it to behave like a gadget, I will settle for writing to my to dos to the desktop.

谢谢.

生活中最好的东西是免费的,但是最有价值的东西却是昂贵的……很好地利用机会,因为还有其他像您一样值得拥有但又没有的东西……

The best things in life are free, but the most valuable ones are costly...use opportunities well for there are others, like you, who deserves them, but don't have them...

推荐答案

可以编写行为与小工具一样的应用程序.

it is possible to write apps that behave as gadgets did.

我以这种类似小工具的方式使用了两个简单的WindowsForms应用程序.这些应用程序的ControlBox设置为false,无文本,因此标题栏消失了,起始位置类型为Manual,位置设置为构造函数的右上角.也是ShowInTaskbar 属性设置为false.然后,我会在登录时通过自动启动"文件夹中的每个快捷方式启动它们.

I use two simple WindowsForms apps in this gadget-like-way. Those apps have ControlBox set to false, no Text so that the Titlebar vanishes and a Startposition type Manual with setting the location to the top right corner in the Constructor. Also the ShowInTaskbar property is set to false. And I start them per shortcut in the Autostart folder on logon.

您可以根据需要将TopMost属性设置为true或false ...

You could set the TopMost property to true or false, just as you like...

此致

 托尔斯滕


这篇关于为桌面创建应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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