Re: [BLACKBOX] Maximize

From: [at]} <Bob>
Date: Fri, 14 Mar 2008 08:27:36 -0000

----boundary-LibPST-iamunique-1405274588_-_-
Content-type: text/plain

I accept that we should be able to do this under program control, but
I'm curious about why you want to. This is the kind of thing that
should be under the user's control under almost all circumstances.
Personally I find it extremely annoying when software resizes windows
automatically, and I believe it's generally frowned upon in UI design
circles.

Regards
Bob

> -----Original Message-----
> From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
> Douglas G. Danforth
> Sent: 14 March 2008 03:56
> To: BLACKBOX{([at]})nowhere.xy
> Subject: Re: [BLACKBOX] Maximize
>
> Here is a solution that I constructed for the
> issue of maximizing a window.
>
> PROCEDURE Maximize (w:HostWindows.Window);
> VAR res: INTEGER;
> BEGIN
> res := WinApi.ShowWindow(w.wnd, WinApi.SW_SHOWMAXIMIZED);
> END Maximize;
>
>
> It works well but unfortunately I had to delve into
> WinApi and access the windows handle for the window.
>
> I would have thought the concept of maximizing a window
> would have been platform independent and so would be supported
> at the Windows level rather than at the HostWindows level.
>
> -Doug Danforth
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX"
> to LISTSERV{([at]})nowhere.xy
>
>


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1405274588_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1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dOT0ZGIEJMQUNLQk9YIiB0byBMSVNUU0VSVkBMSVNUU319
AEtCT1hATElTVFMuT0JF
----boundary-LibPST-iamunique-1405274588_-_---
Received on Fri Mar 14 2008 - 09:27:36 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:58 UTC