Re: Ctrl, Shift & Alt (Over multiple forms)
- From: Bob O`Bob <filterbob@xxxxxxxxxxxxxxx>
- Date: Mon, 08 Jan 2007 13:13:40 -0800
ratz wrote:
Question:
Can anyone tell me how to >>reliably<< monitor Command Key states
inside my application to alter the interface?
Situation: (Skip to Problem if it gets tedious)
Application consisting of multiple forms, uses Ctrl, Shift & Alt to
alter the behavior of command buttons. In addition to altering the
behavior of command buttons, holding down a command key alters the
interface, showing captions describing the altered behaviors.
Example (ShiftState / Behavior)
0 / Save
1 / Save (only) Selected items
2 / Save (only) Filtered items
3 / Save Selected Filtered items
...
Command buttons check Shift states and with KeyDown/KeyUp on the forms,
Shift is routed to a central sub which controls Command button
captions. It works, but poorly.
Problem:
When holding-down (combinations of) Ctrl, Shift and Alt is used to
browse the interface, at times it gets stuck. Sometimes it seem all of
the forms have lost focus somehow (and you have to click a form and
jiggle the keys to reset) or a keycombo is stuck (in KeyDown?) (and you
have to jiggle the keys to reset.)
Right in the middle of a triangle formed by those three modifier keys,
most keyboards these days have what I sometimes refer to as "the stupid key"
And then there's alt-tab, and LOTS of other keys which will BY DESIGN
steal focus from your app.
I'd suggest it's just not a very friendly UI.
Bob
--
.
- Follow-Ups:
- Re: Ctrl, Shift & Alt (Over multiple forms)
- From: ratz
- Re: Ctrl, Shift & Alt (Over multiple forms)
- References:
- Ctrl, Shift & Alt (Over multiple forms)
- From: ratz
- Ctrl, Shift & Alt (Over multiple forms)
- Prev by Date: Re: Something like a Project_Activate event?
- Next by Date: Re: Something like a Project_Activate event?
- Previous by thread: Re: Ctrl, Shift & Alt (Over multiple forms)
- Next by thread: Re: Ctrl, Shift & Alt (Over multiple forms)
- Index(es):
Relevant Pages
|