The code below in MIPro 7 is intended to unselect the selection when the user 
closes certain browser windows, according to the browser window's name.

But the CommandInfo( CMD_INFO_WIN ) returns numbers like -121.434 or 
-97.0102, which are the X of the point in the map window the user picked for 
the radius select tool that created the browser's selection.  Shouldn't it 
return the browser window id integer?  CommandInfo( CMD_INFO_WIN_X ) returns 
the map's X like it should.

Mike
'''''''''''''''''''''''''''''''''''''''
Sub WinClosedHandler
    Dim iWinID
    iWinID = CommandInfo( CMD_INFO_WIN )
    If Left$(WindowInfo(WIN_INFO_NAME, WindowID(iWinID0), 21) = "Points 
within Radius "
        Run Menu Command M_QUERY_UNSELECT
        Run Menu Command M_WINDOW_REDRAW
    End If
End Sub
'''''''''''''''''''''''''''''''''''''''''''

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 5059

Reply via email to