3 ms·
I have just achieved creating a window, loading a text file and printing it on the main window. Scrollbars are there but don't work yet. You could just use the
by userbinator 2y ago
I have just achieved creating a window, loading a text file and printing it on the main window. Scrollbars are there but don't work yet.
You could just use the standard Edit control for that. If you really want to do it manually, which I have done, it's less than ~300 lines of code for the whole app (including working scrollbars). The binary is less than 4k.
but I never realized that showing strings on Windows is such a PIA.
Are ExtTextOut and related functions all that hard to use? How much simpler do you think it could be?
- markus_zhang 2y agoThanks, I don't know about that yet, so it's going to be while. For the string it's mostly the wchar and char stuffs. I think I'm getting a hang of it.