Mail Archives: djgpp/2001/05/07/07:55:39
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 -