我不太明白我通过 CreateWindowEx
创建的窗口和“顶级”窗口之间的区别。
什么是 win32 编程中的顶级窗口?
最佳答案
MSDN 条目 About Windows提供以下定义:
A window that has no parent, or whose parent is the desktop window, is called a top-level window.
博客文章 A window can have a parent or an owner but not both 中给出了更实用的解释:
A window can be created as a child window (
WS_CHILD
set) or a top-level window (WS_CHILD
not set).
关于windows - win32编程中的顶层窗口到底是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18244379/