MapInfo Pro Developers User Group

 View Only
  • 1.  MapInfo UI not responding to any Left mouse clicks - Map/StatusBar area is OK though

    Posted 18 days ago

    Hi everybody,

    I have been updating our application to interact with MapInfo Pro 2023 and so far everything has worked as expected.  We have a MapBasic app which adds a custom Ribbon tab as well as some buttons and tools.  This all works great.

    But occasionally I'm noticing an issue where by none of the MapInfo UI will then respond to Left mouse clicks except for the actual central map and the StatusBar at the bottom (see red areas in picture which shows where the Left mouse button does respond).

    I can't even close the window using the cross in the top-right - I have to right click and then choose Close.

    As I was basically handed an existing MapBasic file which I tweaked to add alternative communications with our app and the creation of the custom Ribbon tab, I don't know if there is any code which basically tells the MapInfo UI to begin a UI update and we are somehow missing an end update or something?  But it's the fact that it doesn't always happen when launching the app (which we do via a commandline and then interact with MapInfo via the "MapInfo.Application.x64" object)

    Any ideas of what it could potentially be and what we might do to fix it?

    Thanks in advance,

    Chris Nightingale



    ------------------------------
    Chris Nightingale
    i2 Group
    Burlington MA
    ------------------------------


  • 2.  RE: MapInfo UI not responding to any Left mouse clicks - Map/StatusBar area is OK though

    Employee
    Posted 13 days ago

    Hi Chris

    So you are saying that you can't click and activate any of the controls on the ribbon or switch to a different tab on the ribbon?

    All you can do is "interact" with the map.

    Is that correctly understood?



    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------



  • 3.  RE: MapInfo UI not responding to any Left mouse clicks - Map/StatusBar area is OK though

    Posted 13 days ago

    Hi Peter,

    Yes that's correct - it's very odd as it doesn't always happen, it's rather random.

    I can imagine trying to diagnose such an issue wouldn't be easy which is why I was asking as to whether there might be any begin/end update routines for the UI where by we are somehow forgetting to get control back to the main MapInfo app?

    Oh in case it makes a difference, I'm running on a VM (VirtualBox) for my dev environment.

    Thanks,

    Chris Nightingale



    ------------------------------
    Chris Nightingale
    i2 Group
    Burlington MA
    ------------------------------