Print Page | Close Window

CXTPToolTipContextToolTip::EnsureVisible suggestio

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=22000
Printed Date: 21 May 2024 at 3:55pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPToolTipContextToolTip::EnsureVisible suggestio
Posted By: rdhd
Subject: CXTPToolTipContextToolTip::EnsureVisible suggestio
Date Posted: 13 November 2013 at 4:09pm
I have a suggestion for EnsureVisible. If the tooltip being displayed is even a pixel past the bottom of the work area, the tip is shown above the control (on the command ribbon in my case). This can cause 90% of the tip to be "above" the monitor.

The method is not virtual so I cannot make a change to do a "best fit" and go with the direction that clips the least amount of tip. But if CJ wanted to be a bit more aggressive, differences between what is clipped if placed below below the exclude window and if placed above the exclude window would allow the code to make a better choice of where to display the tip.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net