Advertisement
5_2007-2008 Miscellaneous #181012

API MultiLine ToolTip Class

Based on other code found on the web, i created this class (CToolTip.cls). Very simple to use, this class allows you to create multi-line and "Bubble" style tooltips that you can attach to any control (with a hWnd property) This is Not just a copy of other code found on this site, this class takes a slightly different approach to tooltips - an approach that made more sense to my application. eg passing just the hWnd of the control you wish to apply the tooltip rather than the control its self, strongly typed variables, and completely encapsulation. This class (with the exception of the error handling) is identicle to the class im using in some of my commercially written applications, so its already been tested [any bugs let me know :)] Use it but dont abuse it - im fed up of reading harsh comments on PSC for perfectly good example code.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine