Note 69: The TMargins data type used here [calling DwmExtendFrameIntoClientArea to manually extend the glass frame under Vista] is not the TMargins class of the VCL (used for the Margins property of controls), but a record structure with the same name defined in the UxTheme unit.

This blog post is part of my "113 Delphi 2007 Handbook Notes" blogging project, to promote my new Delphi book.