Hello Christian
> Sub WinChangedHandler
>
> If WindowInfo(FrontWindow(), WIN_INFO_STATE) = WIN_STATE_MAXIMIZED
> Then
> Set Window FrontWindow() Restore
> End If
>
> End Sub
This is a bit of an odd thing to do in a WindowChangedHandler. I haven't
tried it but from inspection it looks like when you change focus to a window
which is maximised, you restore it to its normal size. This would happen for
windows of all types and may well fail on some.
I also suspect that changing a window size will cause WinChangedHandler to
be called again and you may end up in recursion.
What effect are you trying to achieve?
Regards,
Warren Vick
Europa Technologies Ltd, U.K.
http://www.europa-tech.com
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]