About This eBook by Bart De Smet

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

User Experience

Nobody likes nonresponsive user interfaces (UIs). Figure 31.5 shows the devastating user experience that results when a program’s UI stops responding.

Image

FIGURE 31.5 A nonresponsive application.

But have you ever thought about how Windows knows that a user interface got stuck? The key concept to understanding this is the so-called message loop, where requests are posted to perform various UI operations. For example, the window manager may request the program to repaint its UI by posting a WM_PAINT message (for example, in response to the user resizing the window). Similarly, operations like click events or text input events are sent ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required