visual-c++mfcchecklistbox

How to include inline tooltip for CCheckListBox?


I have a standard CCheckListBox on my dialog:

enter image description here

How can I get it to display an inline tooltip whenever the theme is cropped? For example:

enter image description here

So whenever the mouse hovers over a theme that does not fit it will show a tooltip of the complete theme.


Solution

  • Because the CCheckListBox is a simple list box, you can use all tooltip solutions for it.

    This might help

    I prefer using a list view in report modes, with checkboxes. The list view supports tooltips by itself. Sample

    There is also a very old article in the Microsoft System Journal 03/97 "Tiptoe through the tooltips" but I can't find an archive of it.