如何获得桌面快捷方式pos? [英] How to get desktop shortcut pos?
问题描述
我想创建一个对话窗口
over 桌面快捷方式图标,但我怎么知道屏幕坐标中的快捷方式位置?
I want to create a dialog window over the desktop shortcut icon , but how do i know the shortcut pos in screen coords?
推荐答案
我想创建一个对话窗口
,
I want to create a dialog window over the desktop shortcut icon ,
你是什么意思通过"桌面快捷方式图标"?桌面可以包含许多快捷方式图标。 您是说在桌面上有一个特定的快捷方式,您想要获取坐标?
What do you mean by "the desktop shortcut icon"? A desktop can contain many shortcut icons. Are you saying that there is a specific shortcut on the desktop for which you want to obtain coordinates?
似乎获取桌面的IFolderView接口以在目标快捷方式上使用IFolderView :: GetItemPosition实现目标。
It seems that obtaining the desktop's IFolderView interface to use IFolderView::GetItemPosition on the target shortcut would achieve the objective.
这篇关于如何获得桌面快捷方式pos?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!