1. Newbie questions
Howdy all. I have a few questions I hope someone can answer.
Is there a predefined function in VEL for creating a message box? By
'message box' I mean the kind that comes up with a message and an Ok button,
or the one that comes up when you try to close an unsaved file in Notepad.
I looked but couldn't find one.
I was also wondering if anything would crash if I used VEL and Win32Lib in
the same program.
Regards,
Ben
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
2. Re: Newbie questions
- Posted by JJProg at CYBERBURY.NET
Aug 29, 1999
EU>Howdy all. I have a few questions I hope someone can answer.
EU>Is there a predefined function in VEL for creating a message box? By
EU>'message box' I mean the kind that comes up with a message and an Ok button,
EU>or the one that comes up when you try to close an unsaved file in Notepad.
EU>I looked but couldn't find one.
EU>I was also wondering if anything would crash if I used VEL and Win32Lib in
EU>the same program.
EU>Regards,
EU>Ben
EU>______________________________________________________
EU>Get Your Private, Free Email at http://www.hotmail.com
Euphoria includes message box routines in msgbox.e. See the library
documentation on message_box for details.
Jeffrey Fielding
JJProg at cyberbury.net
http://members.tripod.com/~JJProg/
3. Re: Newbie questions
>Is there a predefined function in VEL for creating a message box? By
>'message box' I mean the kind that comes up with a message and an Ok
button,
>or the one that comes up when you try to close an unsaved file in Notepad.
>I looked but couldn't find one.
VEL produces a message box with an OK button with the following command:
ShowMsg({"Hello world!"})
As for Save File dialogs, there is a ShowDialog command which displays most
of the standard system dialogs, such as: OpenFile, SaveFile, Print,
PrintSetup, Font, and Color. For example:
ShowDialog((SAVEDIALOG,Form1) -- standard system dialog to save a file
>
>I was also wondering if anything would crash if I used VEL and Win32Lib in
>the same program.
I haven't tried it but I see no reason why not.
Gary.
4. Re: Newbie questions
Hello Ben Logan,
Sunday, August 29, 1999, 9:28:09 AM, you wrote:
BL> Howdy all. I have a few questions I hope someone can answer.
BL> Is there a predefined function in VEL for creating a message box? By
BL> 'message box' I mean the kind that comes up with a message and an Ok button,
BL> or the one that comes up when you try to close an unsaved file in Notepad.
BL> I looked but couldn't find one.
there is a routine called message_box() in euphoria\include\msgbox.e .
search for "<message_box" (without the quotes) in the library
reference manual (euphoria\doc\library.doc) for the correct syntax.
Best regards,
Hendrik Mundt
mailto:hm-1704 at gmx.de