|
-
Jun 26th, 2011, 04:49 PM
#16
Re: [VB6] - test if alt acelerator key was activated
The const value was given in previous post: ODS_NOACCEL = &H100
When using AND, we are testing to see if the .ItemState contains the flag ODS_NOACCEL.
If the result is zero, then the flag is not included and means 1 of 3 things
1) The operating system is older than Win2K
2) The user does not have the option set to hide the accelerator keys
3) The user has the option set, and the keyboard initiated the menus not the mouse
When the flag is not set, it simply means to draw the menu with the accelerator key
Last edited by LaVolpe; Jun 26th, 2011 at 04:53 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|