Announcement

Collapse
No announcement yet.

SHELL %SW_HIDE DOS box not hidden in Win 2000

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Lance Edmonds
    replied
    In my tests, if the Properties of the DOS app is set to full-screen, then the %SW_HIDE mode is over-ridden. If I set the properties to "maximized" or "normal window" then the dos app was hidden as expected.

    If you do not have a PIF for the DOS app, then you may have to adjust the properties of the "_DEFAULT.PIF" file instead.



    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • John Cole
    Guest started a topic SHELL %SW_HIDE DOS box not hidden in Win 2000

    SHELL %SW_HIDE DOS box not hidden in Win 2000

    Hello,

    I use PB/DLL 6.0

    Dscpbat.exe and Qw3455.exe are DOS programs I run.

    The following code works perfect under Win 95/98/Me,
    meaning the DOS box is 'hidden' during the execution
    of the DOS programs due to the 0 = %SW_HIDE.

    b$ = "dscpbat i a: c: Qw3455"
    SHELL( b$, 0 ) ' use 0 = %SW_HIDE

    But under Win 2000 the DOS box is NOT 'hidden' during
    the execution of the DOS programs -- it opens up to a
    full screen DOS box, and then closes upon completion
    of the execution of the DOS programs.

    Why is the behavior different under Win 2000 ???

    How can I get it to NOT open up to a full screen
    DOS box as it properly does under Win 95/98/Me ???

    Thank you for any help.


    ------------------
Working...
X