-
I don't know how to sense a mousemovement on a menu. I tried this:
'properties
tmrCheck.Interval = 150
Code:
Sub tmrCheck_Timer()
Dim tmphWnd As Long
Dim AAA As POINTAPI
GetCursorPos AAA
tmphWnd = GetWindowFromPoint(AAA.X, AAA.Y) 'I dunno if it's WindowFromPoint or whatever, but you know what I mean.
If tmphWnd = mnuFileNew.hWnd then
StatusBar.SimpleText = "Creates a new document with the attributes you wish."
End If
End Sub
But...then I realized that menus don't have hWnds!!! HELP ME PLEASE!!!
-
This is where Subclassing comes into use. Vb-World has a downloadable example on doing that.
http://www.vb-world.net/demos/subclassmenus/