Stamp: 04/20/95
AS>Ah. That's why I never knew when to press PrtScrn or Shift-PrtScrn.
AS>Sometimes I was in windows, sometimes I wasn't. So in a BASIC program,
AS>one must do a test:
AS>
AS> 'Print screen
AS> IF Windows THEN
AS> ShiftPrintScreen
AS> ELSE
AS> PrintScreen
AS> END IF
AS>
AS>Will that work even when DosPrint=Yes is in the win.ini, or does the
AS>application have to scan the win.ini for that line? Is that what DL is
Not sure if that will work or not.. never tried it through a program
before. I suppose if you stuffed the keystrokes into the buffer though
then yes it would work.. there is probably a windows API function call
that can be issued to override this action but I don't know it.. If a
programmer is trying to dump the screen of their dos program through a
dos window then the easiest method would be to;
Dump the screen manually Row/Col by Row/Col regardless of environment..
as the DosPrint = YES functions as a toggle it would be a lot of hassle
to have to determine the environment, then determine the toggle state of
the Print.Screen button then stuff the appropriate keys into the
buffer.. Please!!... I'd rather commit sepuku with a rusty dull dinner
ife..
{:)
___
* UniQWK v4.1 * The Windows Mail Reader
--- WILDMAIL!/WC v4.10
---------------
* Origin: DSE Software Publishing BBS þ 707-459-4484 þ (1:125/123.0)
|