WM attached and child windows

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • WM attached and child windows

    Hi,
    I don't understand the mechanism of main window , attached window and child window.

    For example, when I create a window and then I attach a new one in a small rectangular, when I destroy the main window automatically is it destroyed also the attached window?

    If I use a child window is it the same?

    MC
  • Hello,

    Please note that attached windows and child windows are the same.

    If a window is deleted, all child windows will be also deleted.

    You can find the information in section 17.7.2 WM API: Basic functions -> WM_AttachWindow() and WM_DeleteWindow().

    Best regards,
    Thorsten