You're probably going to get a lot of these, but why on earth would you want to
do that? It's totally inconsistent with every other Windows MDI application.
Having said that, I notice there's an event id called pbm_mdimaximize. I don't
know when that message it received, but it sounds promising.
---
Craig Wagner | E-mail: wag...@teleport.com
Certified PowerBuilder | Web: http://www.teleport.com/~wagnerc
Developer Professional | Phone: (503) 452-6343
and Instructor | Portland, OR USA
On Mon, 29 Mar 1999 14:35:30 -0600,
in powersoft.public.powerbuilder.powerscript
John Pletka <jpl...@altranet.com> wrote:
>I'm trying to prevent the user from maximizing a window. What I want to
>happen is when the user clicks on the maximize box on the window, the
>window will resize itself to fill the available Workspace, but not be
>truly "maximized". I tried to capture the resize event and return -1,
>but when I ran it through the debugger, the window maximized itself
>first, then fired the resize event.
> Does anyone know how to prevent a window from being maximized
>(without disabling the maximize box on the window?)
>
---
Bruce Armstrong [TeamPS] | Romac/Source International
mailto:Bruce.A...@eudoramail.com | mailto:jo...@sourcela.com
| http://www.romac-source.com
Preach the gospel at all times. If necessary, use words. [Francis of Assisi]
http://www.kidbrothers.org http://www.fccwc.org
http://www.harvest.org/text/knowgod.html
John Pletka <jpl...@altranet.com> wrote in message
news:36FFE411...@altranet.com...