1. save_text_image

------=_NextPart_000_0005_01BF6669.57680FA0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm trying to use this in a .exw program to grab a portion of the DOS =
box that pops up when it's running. I guess this is what's called the =
"console?"

It tells me the function get_active_page() is not supported for Euphoria =
for WIN32. How would I then grab a portion of that console screen to =
save and then redisplay?

Thanks,
ck


------=_NextPart_000_0005_01BF6669.57680FA0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2722.2800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>I'm trying to use this in a .exw program to grab a =
portion of=20
the DOS box that pops up when it's running. I guess this is what's =
called the=20
"console?"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>It tells me the function get_active_page() is not =
supported=20
for Euphoria for WIN32. How would I then grab a portion of that console =
screen=20
to save and then redisplay?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Thanks,</FONT></DIV>
<DIV><FONT size=3D2>ck</FONT></DIV>

------=_NextPart_000_0005_01BF6669.57680FA0--

new topic     » topic index » view message » categorize

2. Re: save_text_image

On Mon, 24 Jan 2000 12:48:41 -0600, cklester <cklester at HOTPOP.COM> wrote:

>I'm trying to use this in a .exw program to grab a portion of the DOS box
that pops up when it's running. I guess this is what's called the "console?"
>
>It tells me the function get_active_page() is not supported for Euphoria
for WIN32. How would I then grab a portion of that console screen to save
and then redisplay?
>
>Thanks,
>ck
>
>

  ck:

   Go here to get info about using console

   http://msdn.microsoft.com/library/psdk/winbase/conchar_2mat.htm

   Maybe you could monitor the contents of the console buffer

  Bernie

new topic     » goto parent     » topic index » view message » categorize

3. Re: save_text_image

C.K. Lester writes:
> I'm trying to use this in a .exw program to grab a portion
> of the DOS box that pops up when it's running. I guess this
> is what's called the "console?"
> It tells me the function get_active_page() is not supported
> for Euphoria for WIN32. How would I then grab a portion
> of that console screen to save and then redisplay?

save_text_image() hasn't been implemented yet for WIN32.
I didn't think there was much demand for it. Unfortunately,
get_screen_char() and put_screen_char() haven't been
done for WIN32 either. (The docs aren't clear about this).
I'll try to do all three of these routines for WIN32
in the next release.

I guess you'll just have to keep track of what you've written
to the WIN32 console, or else use DOS32 (or Linux).

Maybe you should write a real Windows GUI program
using David Cuny's Win32Lib.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

4. Re: save_text_image

Robert Craig thought he'd "help out" with the following:

> Maybe you should write a real Windows GUI program
> using David Cuny's Win32Lib.

Maybe, since this is all your fault anyway, you should write my program for
me! I'll send you the faux-Win/DOS program and you can convert it to a fully
Win9x GUI program.

Thanks in advance! smile
ck

P.S. I guess I need to start devoting time to learning Windows programming.
But I don't HAVE any time! DOH!

new topic     » goto parent     » topic index » view message » categorize

5. Re: save_text_image

On Tue, 25 Jan 2000, you wrote:
> Robert Craig thought he'd "help out" with the following:
>
> > Maybe you should write a real Windows GUI program
> > using David Cuny's Win32Lib.
>
> Maybe, since this is all your fault anyway, you should write my program for
> me! I'll send you the faux-Win/DOS program and you can convert it to a fully
> Win9x GUI program.
>
> Thanks in advance! smile
> ck
>
> P.S. I guess I need to start devoting time to learning Windows programming.
> But I don't HAVE any time! DOH!

CK:

Depending on what your program does, it may actually be MUCH EASIER to write
for Windows, using Dave's IDE, than it was for DOS. At least, that has been my
experience so far.

Just a warning, however - use an earlier version of Win32Lib .. 45b or
earlier for best results. The later versions do more, but still have a bug or
two.

If you aren't sure where to start, send me your program, I'll put together a
Windows interface for it, which you can build on.

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu