When you create a control, you give it a unique identifier. You do this by including it in the hMenu parameter of the CreateWindow function. The control supplies its identifier in any notification message it sends to the window procedure of the parent window. The control identifier is especially useful if you have several controls in a window. It is the quickest, easiest way to distinguish one control from another.