ManiacDC / TypingAid

Word AutoCompletion Utility
http://www.autohotkey.com/board/topic/49517-ahk-11typingaid-v2200-word-autocompletion-utility/
GNU General Public License v3.0
142 stars 45 forks source link

Enable the mouse for selecting an item from the list of words #47

Closed ManiacDC closed 9 years ago

ManiacDC commented 9 years ago

The mouse should be usable to select a word from the list of words. This should enable better usability with touchscreen devices.

ManiacDC commented 9 years ago

Logic, still need to add option to disable: https://github.com/ManiacDC/TypingAid/commit/a56fdb1483612f63dc7f2363dae403404ddb8227

ManiacDC commented 9 years ago

Also, I want to change the cursor to a hover finger when enabled AND over the listbox.

ManiacDC commented 9 years ago

You'd thinking changing a mouse cursor should be trivial, right? I spent much too much time reading on this. Very few people seem to know how to do it correctly. Changes committed to use the hand cursor when hovering over the listbox. https://github.com/ManiacDC/TypingAid/commit/666075f4e51f1437eeacbb99b9ca43714b09760b

ManiacDC commented 9 years ago

Added to Settings window https://github.com/ManiacDC/TypingAid/commit/f26fb5017f48b899b6880ccddd79c79472c20a20

ManiacDC commented 9 years ago

I changed the setting so that it specifically reads "Single Click", and when it's unchecked, a double click will complete the word.

https://github.com/ManiacDC/TypingAid/commit/f95e72dc420403b5b0a8d1691b135c0096609d28

ManiacDC commented 9 years ago

Removed some extra work the cursor code was doing Fixed a slight delay in changing the mouse cursor when drawing the listbox https://github.com/ManiacDC/TypingAid/commit/733b1add42e8391d4ed28399496670b17887390d

ManiacDC commented 9 years ago

Had to add code to monitor the scrollbar to make sure the numbering worked correctly Had to rewrite the click code because spamming the scrollbar buttons was still causing problems https://github.com/ManiacDC/TypingAid/commit/272beb2c8e78f55784c6f466c1428bd6891a0b0f

ManiacDC commented 9 years ago

Clear the timer when I start scrolling so that it doesn't switch on me if I start scrolling before the timer triggered. https://github.com/ManiacDC/TypingAid/commit/492c6159f81e7d1c7af7210da32c0cf35503f255