[jawsscripts] Re: List View Events
- From: james.homme@xxxxxxxxxxxx
- To: jawsscripts@xxxxxxxxxxxxx
- Date: Mon, 17 Nov 2008 11:21:22 -0500
Hi Donald,
You might need to hit Control+Insert+NumPadMinus when you are using the
application. You may also be able to make an auto start function that flips
this setting on and an auto finish function that puts it back the way it
was once you leave the application.. This setting forces the mouse to
follow the cursor. Maybe this will get the selected item to change.
Thanks.
Jim
James D Homme, Usability Engineering, Highmark Inc.,
james.homme@xxxxxxxxxxxx, 412-544-1810
"The difference between those who get what they wish for and those who
don't is action. Therefore, every action you take is a complete
success,regardless of the results." -- Jerrold Mundis
Highmark internal only: For usability and accessibility:
http://highwire.highmark.com/sites/iwov/hwt093/
"Donald Marang"
<donald.marang@gm
ail.com> To
Sent by: jawsscripts@xxxxxxxxxxxxx
jawsscripts-bounc cc
e@xxxxxxxxxxxxx
Subject
[jawsscripts] List View Events
11/17/2008 07:54
AM
Please respond to
jawsscripts@freel
ists.org
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
__________
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: