WinNavig.mbx that can "flick" through all open mappers and browsers is part
of the MLC_INI applications available at
www.paris-pc-gis.com/mlc/mlc_main_en.htm
Jacques Paris
e-mail [EMAIL PROTECTED]
MapInfo/MapBasic support http://www.paris-pc-gis.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dr.
Franz-Josef Behr
Sent: September 12, 2001 10:16
To: MapInfo-L
Cc: [EMAIL PROTECTED]
Subject: Re: MI-L Getting WindowIDs
Try something like this:
Dim iWindowIDArray(), iWindowCount as Integer
iWindowCount = 0
for iWindow = 1 to NumWindows()
if (WindowInfo(WindowID(i),WIN_INFO_TYPE) = WIN_MAPPER) then
iWindowCount = iWindowCount + 1
ReDim iWindowIDArray(iWindowCount)
iWindowIDArray(iWindowCount) = WindowID(iWindow)
end if
next
--
Sympathies (sympatho [greek]: suffer with somebody) to all the folks
concerned by violence!
Franz-Josef Behr
------------------------------------------------------------------------
We all learn by sharing what we know... (R. DiBlasi)
Dr. Franz-Josef Behr Phone: ++49 / 7243 / 5641-20
GIS-Consultant Fax: ++49 / 7243 / 5641-99
Graphservice GmbH EMail: [EMAIL PROTECTED]
Im Ermlisgrund 18 D-76337 Waldbronn
Author of: Strategisches GIS-Management - http://www.gis-management.de
WWW: http://www.graphservice.de
Personal Home Page: http://home.pages.de/~fjbehr und
http://www.gis-news.de [EMAIL PROTECTED]
----------------------------------------------------
D Couter wrote:
Hi there
How can I get a list of the WindowID's of all open
windows in Mapinfo - I want to create a tool so that i
can flick through them but can't fathom out the first
bit - i.e. listing all the open windows. Any
help/advice gratefully received.
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.