Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - CXTPToolTipContextToolTip::EnsureVisible suggestio
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPToolTipContextToolTip::EnsureVisible suggestio

 Post Reply Post Reply
Author
Message
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 867
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: CXTPToolTipContextToolTip::EnsureVisible suggestio
    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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.