On Fri, Feb 8, 2013 at 4:14 PM, Staffan Tylen <staffan.ty...@gmail.com>wrote:


> I've found that in a listview one can use the KEYDOWNEX event to capture
> when a key on the keyboard is pressed, but I haven't found a way to capture
> when the key is released. The mouse class on the other hand has events for
> both directions. I wish to be able to determine if the control key is being
> pressed when a COLUMNCLICK event occurs. Many thanks for any tips.
>

The thing is, you only get what the list-view sends you, and it doesn't
send you that information.

There is no way to get that info currently.

There is a Windows API that would probably work, but there is no access to
it in ooDialog.

The Mouse class was just recently introduced.  Prior to that there were
just a few random mouse related methods that were scattered about as
methods of the dialog object.  Which was a poorly thought out approach.
 And, you wouldn't have had "events for both directions" with that.

I don't want to just add a random keyboard API as a method of a ?? dialog.
 So, I'm not likely to add access to the Windows API I mention above until
I have the time to implement a KeyBoard class similar to the Mouse class.
 Which I don't think will be in this cycle.  It could be something for
ooDialog 4.2.3 though.

I was hoping that if I implemented some of the long standing RFEs that it
would encourage people to open more requests for enhancements.  I would
like to implement things that users of ooDialog would like to see, but
without any input it is hard for me to tell.

If nothing else, I'll implement things people talk about on this list.  So,
getting the current key state is high on the list.

--
Mark Miesfeld
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to