What exactly is the top-level window for us in win32 programming?

I just realized that I don’t quite understand the difference between the window that I create through CreateWindowEx and the "top level" of the window. What is the top-level window in win32 programming?

+4
source share
2 answers

A top-level window is a window that is not a child window, or does not have a parent window (which is the same as the "desktop window" as the parent).

+5
source

The MSDN entry for Windows offers the following definition:

A window that does not have a parent, or whose parent is the desktop window, is called a top-level window.

+3
source

Source: https://habr.com/ru/post/1497141/


All Articles