Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are Windows window classes case-sensitive?

MS docs being clear as mud (and the class name strings not referenced very often), I was wondering whether the class name of a Win32 window class is actually case sensitive?

like image 832
Martin Ba Avatar asked Oct 28 '11 11:10

Martin Ba


1 Answers

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.
like image 83
tenfour Avatar answered Sep 28 '22 09:09

tenfour