2 ms·
Okay, perhaps my wording was off. Yes, they're Win32 controls in that sense, but many (most?) of the newer controls are no longer mere wrappers around something
by ygra 6y ago
Okay, perhaps my wording was off. Yes, they're Win32 controls in that sense, but many (most?) of the newer controls are no longer mere wrappers around something that exists in Win32, but rather implement all functionality in managed code, both behavior and drawing.
- jug 6y agoTrue and what’s more, Microsoft recently deprecated a load of Wi 32 native controls like Menubar and Toolbar where they now want you to migrate to the managed code / styled MenuStrip and ToolStrip.
- ratww 6y ago> no longer mere wrappers around something that exists in Win32, but rather implement all functionality in managed code, both behavior and drawing But that's how we do custom controls in Win32. You can get very far with only common controls, but as soon as you need something more complicated you have to draw it yourself. Just because they're using C# doesn't mean it's not the same API or is not native controls. WPF on the other hand is completely different, internally it only uses native calls to get the canvas where everything will be drawn and to handle input/accessibility (plus a few other things).