ulKbdMode (ULONG)

      Keyboard mode of the Frame.

      IMMode - IM related modes

      Bit 0

        Has the following values:

      • IM_CTL_MOD_IMENABLE
        Make IM enabled
      • IM_CTL_MOD_IMDISABLE
        Make IM disabled
      Bit 1
        Has the following values:

      • IM_CTL_MOD_IMMODE
        Get into IM mode
      • IM_CTL_MOD_NOIMMODE
        Get out of IM mode
      Bit 2
        Has the following values:

      • IM_CTL_MOD_ROMANENABLE
        Enable Roman support
      • IM_CTL_MOD_ROMANDISABLE
        Disable Roman support
      Bit 3-7
        Reserved, set to 0
      IMLayer - related to IM Kbd layers

      Bit 8

        Has the following values:

      • IM_CTL_MOD_WIDECHAR
        Return wide character
      • IM_CTL_MOD_NARROWCHAR
        Return normal character
      Bits 9-10
        Has the following values:

        00

          IM_CTL_MOD_NLS1
          NLS Layer 1
        01
          IM_CTL_MOD_NLS2 NLS Layer 2
        10
          IM_CTL_MOD_NLS3 NLS Layer 3
        11
          IM_CTL_MOD_NLS4 NLS Layer 4
        Bit 11
          Has the following values:

        • IM_CTL_MOD_ROMAN
          Get into Roman mode
        • IM_CTL_MOD_NOROMAN
          Get out from Roman mode
        Bit 12-15
          Reserved, set to 0
        PktMode - related to IM Packet mode

        Bit 16

          Has the following values:

        • IM_CTL_MOD_DBCSINBYTE
          Two WM_CHARs represent a DBCS ASCII character.
        • IM_CTL_MOD_DBCSINWORD
          One WM_CHAR contains a DBCS ASCII character.
        Bit 17
          Has the following values:

        • IM_CTL_MOD_INTERIMON
          PMWIN (or IM) returns both interim and final character packets
        • IM_CTL_MOD_FINALONLY
          PMWIN (or IM) returns only finalized (converted) packets
        Bits 18-23
          Reserved, set to 0
        Bits 24-27
          Reserved for system use
        Bits 24-27
          Reserved, set to 0
        Bit 31
          Has the following values:

        • IM_CTL_MOD_INHERIT_ON
          Inherit other Frame
        • IM_CTL_MOD_INHERIT_OFF
          Don't inherit


        [Back: IMCONTROL Field - hwndInherit]
        [Next: IMCONTROL Field - ulKbdMask]