In high-DPI displays, enables automatic display scaling of the non-client area portions of the specified top-level window. DPI awareness indicates how much scaling work an application performs for DPI versus how much is done by the system.Ĭalculates the required size of the window rectangle, based on the desired size of the client rectangle and the provided DPI.ĭetermines whether two DPI_AWARENESS_CONTEXT values are identical. Identifies dots per inch (dpi) awareness values. Identifies the dots per inch (dpi) setting for a monitor.
This behavior allows windows created in the thread to host child windows with a different DPI_AWARENESS_CONTEXT. Identifies the DPI hosting behavior for a window. Identifies the dots per inch (dpi) setting for a thread, process, or window. In Per Monitor v2 contexts, dialogs will automatically respond to DPI changes by resizing themselves and re-computing the positions of their child windows (here referred to as re-layouting). The values in this enumeration are bitfields and can be combined. To develop High DPI, you need these headers:įor programming guidance for this technology, see:ĭescribes per-monitor DPI scaling behavior overrides for child windows within dialogs.