Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Win32 tooltips for windowless controls
Author:
10Tec Company
E-mail:
Click to e-mail author
Website:
http://www.10Tec.com
Submitted:
7/26/2003
Version:
VB4
Compatibility:
VB4, VB5, VB6
Category:
Windows API
Downloads:
6853
The problem with Win32 tooltips is that you can attach it only to a control that provides the hwnd property returning the Win32 handle of the control. The following trick allows you to create real Windows tooltips for VB intrinsic controls which do not have this property. You need to create a tooltip for the FORM that contains the required control when the mouse pointer has entered the area occupied by the control; you can use the MouseMove event of the control for this purpose. You should also detach the created tooltip from the form when the mouse pointer has left the control area; you can do it in the Form_MouseMove method.
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement