When should WS_EX_NOREDIRECTIONBITMAP be used?

后端 未结 2 539
遇见更好的自我
遇见更好的自我 2020-12-16 15:44

MSDN says (Extended Window Styles):

WS_EX_NOREDIRECTIONBITMAP: The window does not render to a redirection surface. This is for windows t

2条回答
  •  轮回少年
    2020-12-16 16:06

    WS_EX_NOREDIRECTIONBITMAP is for windows that use DirectComposition for rendering.

    E.g. Sciter creates windows with WS_EX_NOREDIRECTIONBITMAP to support Acrylic composition effects like here:

    This is an ordinary Win32 window (not UWP) that uses DirectComposition and WS_EX_NOREDIRECTIONBITMAP.

    Rendering on such windows should be done by Direct2D means. GDI rendering is barely useful with WS_EX_NOREDIRECTIONBITMAP.

提交回复
热议问题