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).