Extended message box
#2
(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
Reply


Messages In This Thread
Extended message box - by mnrvovrfc - 02-11-2023, 08:41 PM
RE: Extended message box - by SpriggsySpriggs - 02-13-2023, 02:12 PM
RE: Extended message box - by bplus - 02-13-2023, 05:21 PM
RE: Extended message box - by mnrvovrfc - 02-13-2023, 06:18 PM
RE: Extended message box - by mnrvovrfc - 02-13-2023, 07:21 PM
RE: Extended message box - by SpriggsySpriggs - 02-13-2023, 11:10 PM
RE: Extended message box - by vince - 02-14-2023, 12:21 AM
RE: Extended message box - by aurel - 02-14-2023, 10:03 AM
RE: Extended message box - by mnrvovrfc - 02-14-2023, 01:06 PM
RE: Extended message box - by mnrvovrfc - 08-19-2023, 11:53 PM
RE: Extended message box - by RhoSigma - 08-20-2023, 07:44 AM
RE: Extended message box - by bplus - 08-20-2023, 10:54 AM
RE: Extended message box - by mnrvovrfc - 08-20-2023, 01:42 PM



Users browsing this thread: 6 Guest(s)