Hi. --- In [EMAIL PROTECTED], Slawomir Nowaczyk <[EMAIL PROTECTED]> wrote: > #> Have you tried after putting the mouse on the caption bar of the > #> child window? I suppose you have to do it in this case. > > Well, the "Max" part works OK, regardless of where I put the mouse > cursor (it has some glitches with toolbars, but it is only minor > annoyance).
Which app is it you're using? For The MDI-apps I tested it works like Sean describes it. Have to put the mouse over the caption to maximize it. The caption (or the frame the caption belongs to) has a different handle as the window content and only this can be maximized. > I don't see how such a script would work? Maybe something like this? static maxxed, han if (not maxxed) do han = win.handlefrompoint(xmouse, ymouse) if (win.maxable(han)) do win.maximize(han) maxxed = 1 endif else win.restore(han) maxxed = 0 endif This saves the handle of the maximized window in a var and will restore it if it's called again... Mockey ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/JV_rlB/TM --------------------------------------------------------------------~-> Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
