需要知道“本地屏幕坐标”功能
我希望在某种情况下在文本框中显示工具顶部。
InfragisticsTooltipManager 控件使我能够在特定坐标处显示 Tooptip。
我想显示提示,以便气球工具提示的箭头部分指向文本框,因此无论文本框在屏幕上的位置如何,工具提示都是可见的。这意味着如果文本框位于 srcen 的最顶部,则顶部提示需要显示在文本框下方,否则显示在文本框上方。
现在,如果有人能指出本地到屏幕坐标功能,我会很高兴,如果我总是想将工具提示显示在顶部,我需要确定工具提示需要显示的位置。
I would like to have a tooltop displayed on a textbox under a certain situation.
The InfragisticsTooltipManager control gives me the ability to display a Tooptip at a certain coordinates.
I would like to display the tip so that the arrow part of the baloon tooltip is pointing to the textbox and so the tooltip is visible regardless of the position of the textbox on the screen. This means that if the textbox is at the very top of the srcen, the tooptip would need to be displayed below the textbox, else above it.
For now, I would be happy if someone could point out the Local To Screen Coordinate function I would need to determine where the tool tip needed to be displayed if I always wanted to display it on top.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这些方法通常称为 ClientToScreen 和 ScreenToClient。
请参阅此处:如何获取窗口客户端区域的坐标
these methods are usually called ClientToScreen and ScreenToClient.
see here: How to get coordinates of window client area