Chapter Ten. The Inner workings of the Dialog Manager

I THINK A lot of confusion about the dialog manager stems from not really understanding how it works. It’s not that bad. After some warm-up discussion on dialog procedures, I go into the history of dialog templates, using that as a basis for understanding how dialog boxes are created, then move on to the dialog message loop, and wrap up with some topics regarding navigation.

On the dialog procedure

THERE REALLY ISN’T much to a dialog procedure. For each message, you can choose to handle it or not, just like a window procedure. But unlike a window procedure, the way you express this decision is done by the return value.

Returning values from a dialog procedure

For some reason, the way values ...

Get The Old New Thing: Practical Development Throughout the Evolution of Windows now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.