It would appear that in a classic Windowstm application each control that is displayed (Button, ListBox, Menu, ...) gets it own Window (as in HWND
).
Further, with Windows Forms (WinForms), while the controls no longer use the classic Window Classes, each control still has its own Window (HWND
).
However, Windows (plural) that are created via WPF don't use separate Windows (pl.) for their controls. A button on a WPF dialog is not a separate Window (HWND
).
Question
What consequences does this have for what we (as developers) can do or not do with a WPF Window plus it's controls vs. a "classic" dialog Window, where not only each control gets its own HWND
, but even the Window Classes are well known (Button
, #32770 (Dialog)
, ...)?