Yes Jeff I am.
I made a tree view by replacing all my buttons on the dialog page. Each
button would run an app dialog so when clicking on the selection, or hitting
the spacebar, I would like to run it.
As I had attempted to say, then clicking, the click event comes first,
then if any change of the tree view item happens, such as selection, comes
second.
so, clicking on it gets you no where because that item is not yet been
selected. so, using the mousse is almost worthless if you want to use the
click to do 2 things.
I did use the spacebar as a hotkey to run the chosen dialog immediately
on selection since that requires you to first move over the item.
but, the mouse click is the same thing as moving the arrow keys over, or
hitting a shortcut to the item, then tapping on the space bar. I could limit
action for space bar only, but does prevent mouse lovers from using the
mousse for running, selection yes, but not running.
I probably still have answered my own question since the mouse click
would not know that the item has already been selected unless it new what it
was on. Now, the keydown event may resolve this and will check on that after
responded to this post.
Sincerely
Bruce
Sent: Monday, August 08, 2011 5:01 PM
Subject: RE: Tree view
I believe he is referring to the UI treeview xml element and associated
event handling.
-----Original Message-----
From: Stephen Clower [mailto:[email protected]]
Sent: Monday, August 08, 2011 1:51 PM
To: [email protected]
Subject: Re: Tree view
Bruce,
Could you clarify what you're asking? e.g. are you referring to the Tree
View app or WE Event? Each app is designed for its own set of tasks.
Tree View, for example, is designed specifically to make it easy to
interpret window hierarchies, whereas WE Event watches for different
Window-Eyes events (application, keyboard, speech, MSAA, etc).
Regards,
Steve
On 8/8/2011 4:43 PM, BT wrote:
> Hi!
> I would like to ask GW why they made the Tree View option but only
> gave the key down event? Why not the key up event?
>
> Also, when clicking on a tree view item that would select it,
> that is all you can do with it, then have to click on it a second time
> to do any function on it because the clicked event comes before any
> select event unless one were to delay it to allow the selection to
> happen. I guess the question to ask is, do I have to monitor the
> select event when doing a mouse click to allow my app to act on the click
to run another app?
>
> Of course, I probably answered my own question, which means, set
> a flag when clicked, wait for the selection, unless it is already
> selected, but how would one know since you don't know until you click and
wait???
>
> Sincerely
> Bruce
--
Stephen Clower
Product support specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com