I don’t need to have controls or anything, I just need to write something onto a HWND, either centred text or an image, that shows it has been rendered to. The actual use-case is I get passed a HWND at a point I’m not ready to deal with it, so I want to to display text on it like “this Window cannot be used”, or a sad-face graphics, etc.
Nothing fancy, just raw hacky code but all you have is the HWND to work with, in pure Win32.
You might want to select a different font before you draw the text, but this will get you started.