DLGTEMPLATEPointer extension

Extensions for constructing in-memory dialog templates.

These helpers write DLGTEMPLATE and DLGITEMTEMPLATE structures directly into caller-provided memory according to the Win32 dialog template layout.

⚠️ Important

  • These APIs are low-level and assume precise knowledge of the Win32 dialog template binary format.
  • No bounds checking is performed.
  • The caller is responsible for allocating sufficient memory and ensuring correct alignment.
on

Methods

setDialog({required int style, required int cdit, required int cx, required int cy, int dwExtendedStyle = 0, int x = 0, int y = 0, int windowSystemClass = 0, String windowClass = '', String title = '', String fontName = '', int fontSize = 0}) int

Available on Pointer<DLGTEMPLATE>, provided by the DLGTEMPLATEPointer extension

Writes a DLGTEMPLATE and its variable-length fields into memory.