Don't know if possible but if MapBasic let's you call Windows API you could call:
SetForegroundWindow((HWND)hWnd)


where hWnd should be an integer value returned by
    WindowInfo(WIN_MAPINFO, WIN_INFO_WND)

if you meant 'in foreground' like 'top most' (i.e. always on top) you should use this Windows API:
SetWindowPos((HWND)hWnd, -1, 0, 0, 0, 0, 3);


HTH,
Cabbi

At 12:27 04/09/2003 +0200, you wrote:
Hi,

first of all I would like to say "hello" because I m a new member of the mailing list.

Does anyone know who to put mapinfo with a mapbasic application in foreground.
The situation is that many applications (AcrobatReader, WinZip, Word,... ) are on the
desktop and for example AcrobatReader is active.


So the question is:

Is it possible to make mapinfo active and put in foreground?

Has anyone an answer to this problem. I would be very happy!
Any and all suggestions will be appreciated.

Yours sincerely

Lutz Hogen


[EMAIL PROTECTED] -Stadt Aachen- Germany


Mit freundlichen Gr��en


Lutz Hogen
---------------------------------------------------------------------------------------------------------------
Stadt Aachen
Fachbereich Vermessung und Kataster
Herr Hogen
Verwaltungsgeb�ude Marschiertor, Lagerhaustra�e 20, Zimmer-Nr. 320
[EMAIL PROTECTED]
Postanschrift: Stadt Aachen, 52058 Aachen
Telefon: (0241) 432-6217 Telefax: (0241) 432-6299


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


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



Reply via email to