June 24th, 2004

The evolution of dialog templates – Summary

As promised, here’s the tabular version of the evolution of dialog templates. It doesn’t contain any new information, but it may give you a little glimpse into how things evolved to see the small changes highlighted against each other.

16-bit classic 32-bit classic
16-bit extended 32-bit extended
Header style
8-bit item count
coordinates
extended style, style
16-bit item count
coordinates
help ID, extended style, style
8-bit item count
coordinates
help ID, extended style, style
16-bit item count
coordinates
Menu ASCIIZ or ordinal UNICODEZ or ordinal
ASCIIZ or ordinal UNICODEZ or ordinal
Class ASCIIZ or ordinal UNICODEZ or ordinal
ASCIIZ or ordinal UNICODEZ or ordinal
Caption ASCIIZ UNICODEZ
ASCIIZ UNICODEZ
Font
(if DS_SETFONT)
size
ASCIIZ font name
size
UNICODEZ font name
size, weight, italic, charset
ASCIIZ font name
size, weight, italic, charset
UNICODEZ font name
Item template alignment BYTE DWORD
BYTE DWORD
Item templates size, position
16-bit ID
style
class, ASCIIZ text/ordinal
8-bit extra data
size, position
16-bit ID
extended style, style
class, UNICODEZ text/ordinal
16-bit extra data
size, position
32-bit ID
help ID, extended style, style
class, ASCIIZ text/ordinal
16-bit extra data
size, position
32-bit ID
help ID, extended style, style
class, UNICODEZ text/ordinal
16-bit extra data
Topics
History

Author

Raymond has been involved in the evolution of Windows for more than 30 years. In 2003, he began a Web site known as The Old New Thing which has grown in popularity far beyond his wildest imagination, a development which still gives him the heebie-jeebies. The Web site spawned a book, coincidentally also titled The Old New Thing (Addison Wesley 2007). He occasionally appears on the Windows Dev Docs Twitter account to tell stories which convey no useful information.

0 comments

Discussion are closed.