www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/07/07:55:39

Sender: tim AT riker DOT skynet DOT be
Message-ID: <3AF68D27.68C4D9D6@falconsoft.be>
Date: Mon, 07 May 2001 13:55:19 +0200
From: Tim Van Holder <tim DOT vanholder AT falconsoft DOT be>
Organization: Falcon Software NV
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.16-3 i686)
X-Accept-Language: en, nl-BE, nl
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: program without window
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010507091037 DOT 19812C-100000 AT is>
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrote:
> 
> On Sun, 6 May 2001, Alexei A. Frounze wrote:
> 
> > > I have a small Command-Line-Program which works very fine from Windows.
> > > But if anyone click on the iconized Dos-Box it open it and there is
> > > nothing  ;-)    How can I make a program which disallow to maximise ???
> >
> > I'm not sure what you mean by "there is nothing", but you may find your
> > program in the Explorer (don't confuse with IE :), open properties of this
> > program and edit them appropriately. In particular, you may choose whether
> > or not the program is run in a window (or full screen), font type and size
> > and other stuff.
> 
> It's true that you can put "Minimized" in the "Run" property, but that
> still doesn't prevent the window from being maximized by the user,
> which is what I believe Michelle was looking for.

Maybe you could use the VXD call mechanism to call a Windows API
function to
either disable maximization or hide the window (which I expect would be
equally
acceptable).
OTOH, Apache for Win32 also runs using a command-line box on Win9x -
there's
no real problem with that.  If you think your users will think 'Oh, no
text,
guess I can close this window', why don't you just print some friendly
text
at startup ('Please don't close this window, as it would disable the
Frob
program')?

-- 
Tim Van Holder - Falcon Software N.V.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
This message was posted using plain text. I do not endorse any
products or services that may be hyperlinked to this message.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019