Thanks to all the Sunday permanents who have pointed to me that frontwindow() returns a MapInfo handle while windowinfo(frontwindow(), WIN_INFO_WND) returna a Windows handle. Jacques Paris ============================================ The question was: If I run the following MB code
Declare Function IsWindow Lib "user32.dll" (ByVal hWnd As Integer) As Integer Dim retval, winhandl As Integer winhandl=frontwindow() retval=iswindow(winhandl) note retval the return value is 0 which means that the handle does not refer to a window. Windows2000 is a platform that supports IsWindow(). Does the problem comes from MI6.5 that I am using? Thanks for any help because IsWindow() is only the tip of the iceberg in my case. Jacques Paris e-mail [EMAIL PROTECTED] MapBasic-MapInfo support http://www.paris-pc-gis.com --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 15912
