Knowledge Base

INFO: Windows Dialog-Box Style DS_ABSALIGN

Article ID: 11590

Article Last Modified on 7/11/2005


APPLIES TO


This article was previously published under Q11590

SUMMARY

The Windows dialog-box style DS_ABSALIGN (used in WINDOWS.H) means "Dialog Style ABSolute ALIGN." Specifying this style in the dialog template tells Windows that the dtX and dtY values of the DLGTEMPLATE struct are relative to the screen origin, not the owner of the dialog box. When this style bit is not set, the dtX and dtY fields are relative to the origin of the parent window's client area.

Use this term if the dialog box must always start in a specific part of the display, no matter where the parent window is on the screen.

Keywords: kbinfo kbdlg KB11590