please dont rip this site Prev Next

ACCEL info  Overview  Group

The ACCEL structure defines an accelerator key used in an accelerator table.

typedef struct tagACCEL { // accl 

    BYTE   fVirt; 

    WORD   key; 

    WORD   cmd; 

} ACCEL; 

 

Members

fVirt
Specifies the accelerator flags. This member can be a combination of the following values:

Value

Meaning

FALT

The ALT key must be held down when the accelerator key is pressed.

FCONTROL

The CTRL key must be held down when the accelerator key is pressed.

FNOINVERT

Specifies that no top-level menu item is highlighted when the accelerator is used. If this flag is not specified, a top-level menu item will be highlighted, if possible, when the accelerator is used.

FSHIFT

The SHIFT key must be held down when the accelerator key is pressed.

FVIRTKEY

The key member specifies a virtual-key code. If this flag is not specified, key is assumed to specify an ASCII character code.

key
Specifies the accelerator key. This member can be either a virtual-key code or an ASCII character code.
cmd
Specifies the accelerator identifier. This value is placed in the low-order word of the wParam parameter of the WM_COMMAND or WM_SYSCOMMAND message when the accelerator is pressed.

See Also

WM_COMMAND, WM_SYSCOMMAND

See:


file: /Techref/os/win/api/win32/struc/src/str00_2.htm, 2KB, , updated: 2001/6/26 09:43, local time: 2024/12/11 23:01,
TOP NEW HELP FIND: 
18.97.9.172:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://techref.massmind.org/techref/os/win/api/win32/struc/src/str00_2.htm"> ACCEL</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to techref.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .