Hello Scott!
>Is there a mapbasic command (or some other way in MB) to force a map window to
>re-draw ?
For Map window, you can use Set Map Redraw On statement. If this is not sufficient (as
it was
in my recent case with Integrated Mapping) - use InvalidateRect and UpdateWindow APIs:
Declare Function InvalidateRect Lib "user32" Alias "InvalidateRect" (ByVal hwnd, ByVal
lpRect, ByVal bErase As Integer) As Integer
Declare Function UpdateWindow Lib "user32" Alias "UpdateWindow" (ByVal hwnd As
Integer) As Integer
To obtain hwnd handle of the window you want to redraw - use
WindowInfo(MapInfoWindowID, WIN_INFO_WND)
In call to InvalidateRect, supply 0 for both lpRect and bErase parameters.
Dmitry Bogdanov
GIS Department Manager
Kiev Software Factory Ltd.
room 46 9/12 Baumana St, Kiev, Ukraine 252190
Tel: (380 44) 442-6077; (380 44) 443-7925
Fax: (380 44) 443-7925
Internet: http://www.ksf.kiev.ua
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]