In Microsoft® Windows®, every window has an associated window procedure ¾ a function that processes all messages sent or posted to all windows of the class. All aspects of a window's appearance and behavior depend on the window procedure's response to these messages.