Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
MS 文档很清楚(以及不经常引用的类名字符串),我想知道Win32窗口类的类名是否实际上区分大小写?
它们不区分大小写。窗口类名称是字符串 ATOMS,根据 MSDN,
在原子表中搜索原子名称时,大小写并不重要。此外,整个字符串必须在搜索操作中匹配;不执行子字符串匹配。 与字符串原子关联的字符串的大小不能超过 255 个字节。此限制适用于所有原子函数。