Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

KeyFlags (Enums)
 
.
Summary
Keystroke Message Flags sent in lParam with key messages

C# Definition:

// Author: Daniel Baumert-@Facebamm
[Flags]
public enum KeyFlags : int
{
    /// <summary>
    /// Manipulates the extended key flag.
    /// </summary>
    KF_EXTENDED =  0x0100,
    /// <summary>
    /// Manipulates the dialog mode flag, which indicates whether a dialog box is active.
    /// </summary>
    KF_DLGMODE =  0x0800,
    /// <summary>
    /// Manipulates the menu mode flag, which indicates whether a menu is active.
    /// </summary>
    KF_MENUMODE =  0x1000,
    /// <summary>
    /// Manipulates the ALT key flag, which indicated if the ALT key is pressed.
    /// </summary>
    KF_ALTDOWN =  0x2000,
    /// <summary>
    /// Manipulates the repeat count.
    /// </summary>
    KF_REPEAT =  0x4000,
    /// <summary>
    /// Manipulates the transition state flag.
    /// </summary>
    KF_UP =  0x8000
}

VB Definition:

Public Enum KeyFlags
    KF_EXTENDED = &H0100
    KF_DLGMODE = &H0800
    KF_MENUMODE = &H1000
    KF_ALTDOWN = &H2000
    KF_REPEAT = &H4000
    KF_UP = &H8000
End Enum

Notes:

None.

Documentation
KeyFlags on MSDN
 

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it!

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions