获取 WindowRef 的边界?
我正在尝试找到一个 Carbon API,它可以从窗口 id 中为我提供 WindowRef,并且通过该 windowref 我想要有边界吗?
编辑:我找到了API extern WindowRef HIWindowFromCGWindowID(CGWindowID inWindowID);但我无法使用它。我已经包含了碳标头,并将其框架添加到项目中。 HI api 还需要什么吗?
任何帮助表示赞赏。 感谢您抽出时间。
I am trying to find a Carbon API which can give me the WindowRef from window id and with that windowref I want to have bounds?
EDIT: I found API
extern WindowRef HIWindowFromCGWindowID(CGWindowID inWindowID); But I am not able to use it. I have included carbon header and have also added its framework to project. Is there something else required to HI apis?
Any help is appreciated.
Thank you for your time.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以下应该做 -
Following should do -