1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

About QueryInputChar()?

Discussion in 'Plugins' started by vefatica, Oct 25, 2009.

  1. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,788
    Likes Received:
    29
    A few questions about QueryInputChar() ...

    Is it case insensitive, both in pszMask and in the actual input?

    Are non-alphanumerics in pszMask ignored? For example, does L"Y/N" mean only yYnN are acceptable?

    Does it always *return* the uppercase version of the character that was entered?
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,731
    Likes Received:
    80
    It shifts all input to upper case before comparing it to the mask.


    QueryInputChar will compare every character > an escape (27), *except* for /
    (which is ignored).


    Yes, unless it's not an alphabetic character.

    Rex Conn
    JP Software
     

Share This Page