Re: Ctrl, Shift & Alt (Over multiple forms)
- From: "MikeD" <nobody@xxxxxxxxxxx>
- Date: Mon, 8 Jan 2007 14:30:35 -0500
"ratz" <rrzzrr@xxxxxxxxx> wrote in message
news:1168199245.828671.128380@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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.
Seems like a very confusing UI to me. You don't need shortcut keystrokes
for everything. Chances are, you'll just overwhelm the user who has to
remember them all (and if the user can't remember them all, they're doing no
good).
--
Mike
Microsoft MVP Visual Basic
.
- 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: VB app that sends keystrokes starting to fail in some locations
- Next by Date: Re: subclass blows up IDE - MDI form
- Previous by thread: Re: Ctrl, Shift & Alt (Over multiple forms)
- Next by thread: Re: Ctrl, Shift & Alt (Over multiple forms)
- Index(es):