简体   繁体   中英

Are Windows window classes case-sensitive?

MS文档显然是泥浆(并且类名称字符串没有经常引用),我想知道Win32 窗口类类名是否实际上区分大小写?

They are not case-sensitive. Window class names are string ATOMS, and according to MSDN ,

  • Case is not significant in searches for an atom name in an atom table. Also, the entire string must match in a search operation; no substring matching is performed.
  • The string associated with a string atom can be no more than 255 bytes in size. This limitation applies to all atom functions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM