COXItemTip

Generic class that provides tips for items from List Control that are not entirely visible. Derived from COXHookWnd - generic class that is used to subclass any CWnd and provides capability to handle any message routed to the hooked window before it. Handles WM_MOUSEMOVE messages to handle drawing tips. When mouse is moved over any of items that only partially seen then item tip will be displayed (the same functionality as CTreeCtrl provides)
To use it: 
1.	call Attach to hook any CListCtrl based control
2.	for ownerdraw CListCtrl you have to provide additional information about current item. Such information can be requested in two ways. There is WM_DOYOUNEEDITEMTIP message which COXItemTip will send to corresponding CListCtrl each time it needs to request specific information by means of NEEDITEMTIPINFO structure. Another way to provide item information is to use callback function that can be set while calling COXItemInfo::Attach fuction and should be defined as: 

		void CallbackNeedItemTip(LPARAM lpSource, LPARAM lpInfo)

	where lpSource is a pointer to COXItemTip object that is requesting item information and lpInfo is pointer to NEEDITEMTIPINFO structure.

3.	Before WM_DOYOUNEEDITEMTIP message or callback function is fired above described structure is filled by COXItemTip::NeedItemTip function. But if a hooked CListCtrl is ownerdrawfixed then next elements could be defined incorrectly: row, col, rectItem, itemText, offset. 
In the case when you don't have and don't want to provide item info using above described ways but still don't like the settings that COXItemTip uses by default you can use the following functions to change them:

SetTextFont
GetTextFont

SetTextColor
GetTextColor

SetBkColor
GetBkColor

SetOffset
GetOffset

COXItemTipWnd

COXItemTipWnd window. 
This Class displays item tips. It functions in a similar fashion as tool tip window.   COXItemTip class uses this class to display item tips for elements in a CListControl derived class. But it can be used directly by calling it's public functions. 
To use this class independantly you have to: 
1.	call the Create function.
	You can use hbrBackground argument to provide the background color you prefer your tips to have.
2.	call the Display function to display an item tip. 
3.	call Hide to hide item tip window