[jawsscripts] List View Events

I have an application that is very non-standard from a JAWS standpoint.  I have 
a list view that had a unique class name, so I reclassified it as a "ListView". 
 I can now arrow through the list and go to first and last with Home and End 
keys.  However, the first item remains the highlighted item (selected item)
How do I assure that the selected item follows my movements?  Is there an event 
that gets triggered when selected item in the list changes?  I would like to 
check if the item's text attribute is bold and announce "new" before that item.

The items in the list also have a non-standard, two line  ToolTip that appears 
when the mouse hovers over the item for several seconds.  Right now it only 
gets activated if I Root JAWS to PC.    I would like to capture each of these 
two lines in separate variables for speaking and later use.  They  are stored 
in the "ToolTip" pop up window as two child windows where each child contains 
the line as the window name and the text in the window.

Additionally, I created the event function listed below to trap these pop up 
windows.  It never seems to be called.  I wrote a similar event function that 
had a MessageBox that worked fine!  Am I doing something wrong?

Void Function ToolTipEvent (handle hWndPopUp, string sMessage)

SayString ("In ToolTipEvent: ")

SayString (sMessage)

SayString ("tooltip window is " + IntToString (hWndPopUp))

Let gsListName = GetWindowText (FindDescendantWindow (hWndPopUp, 
WCID_LIST_NAME), False)

Let gsListNumber = GetWindowText (FindDescendantWindow (hWndPopUp, 
WCID_LIST_NUMBER), False)



ToolTipEvent (hWndPopUp, sMessage)

Return

EndFunction


I have no idea if the variable assignments work!  I have not gotten that far 
yet.

Don Marang


__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: