Developer Experience
Windows USER implements abstractions that are used to build Windows applications. These include
- HWND (Handle to Window)
The HWND is the basic unit of visual display and input in the Windows developer platform. All visual elements either have their own HWNDs or live as part of a larger HWND. Many functions in Windows USER manipulate properties on HWNDs such as size, position and title. Each HWND also has a communication channel (WNDPROC - Window Procedure) for delivery of messages.
Windows are managed as a tree, with the desktop window at the root of the hierarchy. Child windows are usually (but not always) visually contained within their parents.
- MSG (Message)
Applications and the operating system communicate with HWNDs using messages. A window message is the combination of a target HWND, a message code, and other details such as mouse position.
- Message Loop
By combining calls to Windows USER in the right way, a Windows application processes messages. The core Windows message loop (including calls to GetMessage, TranslateMessage and DispatchMessage) is at the core of any Windows application.
Developer functionality related to Windows USER is provided in the C header file winuser.h.
Read more about this topic: Windows USER
Famous quotes containing the word experience:
“Physical pleasure is a sensual experience no different from pure seeing or the pure sensation with which a fine fruit fills the tongue; it is a great unending experience, which is given us, a knowing of the world, the fullness and the glory of all knowing. And not our acceptance of it is bad; the bad thing is that most people misuse and squander this experience and apply it as a stimulant at the tired spots of their lives and as distraction instead of a rallying toward exalted moments.”
—Rainer Maria Rilke (18751926)