سؤال

I don't quite understand what the difference between a window that I create via CreateWindowEx and a "top-level" window.

What is a top level window in win32 programming?

هل كانت مفيدة؟

المحلول

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

نصائح أخرى

The MSDN entry About Windows offers the following definition:

A window that has no parent, or whose parent is the desktop window, is called a top-level window.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top