02-13-2023, 02:12 PM
(02-11-2023, 08:41 PM)mnrvovrfc Wrote: How difficult would it be to create a "deluxe" edition of the Message Box which supports a large amount of text? What I mean is, an "OK" button, and a text field with scrollbars that could hold reasonably a larger amount of text than an ordinary Message Box. Take for instance the dialog seen in many Windows installers, to display the License Agreement, and usually has two buttons: "I agree" or "I decline". Just offer the one button to get out of the dialog.
It would be a good alternative to the "SCREEN 0" to show more stuff that could fit on that screen. The problem could be how large to make the window and the scrollable text holder.
Code: (Select All)/------------------------------------------------\
| +-----------------------------------+ |
| |This is an example of text. ^| |
| | I| +-----+ |
| | I| | OK | |
| | I| +-----+ |
| | I| |
| |<================================>V| |
| +-----------------------------------+ |
\------------------------------------------------/
I have taken the idea from the Purebasic Code Archive, which used WinAPI, and created a version of it with Autohotkey. It should be doable with TinyFileDialog library. Of course, this is something that should be supported on all platforms.
I have also created a scrollable window that works with the mouse but some of you would find it clunky.
Can you show some screenshots of the version you made? That might give us an idea of what functions we should be calling.
Ask me about Windows API and maybe some Linux stuff