Thursday, May 24th 2018, 8:24am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.



Date of registration: Apr 17th 2015

Posts: 9


Thursday, June 11th 2015, 9:07am

WM attached and child windows

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?


Date of registration: Apr 28th 2015

Posts: 38


Thursday, June 11th 2015, 2:06pm


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,