Euphoria 2.0

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hello!,
  I wanted to know if it is possible to automatically minimize the DOS
console, and if there is a way to set the coordinates for Message Boxes in
Win32.
Thank You,
Vikas B. Patel

BTW: The Win32 demo programs look pretty good, the code doesn't!


---------------Begin Win32 code-------
include msgbox.e
constant box_title="Simple Message Box Demo"
integer box,box2,box3

puts(1,"Minimize this console!!") --text appears in DOS Console
box = message_box("Click on Yes or No",box_title, MB_YESNO)
if box=IDNO then
    box2=message_box("You clicked No", box_title, MB_ICONINFORMATION)
end if
if box=IDYES then
    box3=message_box("You clicked Yes" , box_title , MB_ICONINFORMATION)
end if
-----------compile with exw.exe-------
*******************************************************************
\*The Programmers' Guild:For the Amatuer and Hardcore Programmers*/
\\*      http://www.geocities.com/SiliconValley/Way/7272/       *//
\\\*OM                       Jai Hind                        OM*///
\\\\*Submit your site:                                         ////
*******************************************************************

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu