MapInfo Pro Developers User Group

Expand all | Collapse all

Set MapInfo Pro Application Title 64-bit (MIPro 17)

  • 1.  Set MapInfo Pro Application Title 64-bit (MIPro 17)

    Posted 01-15-2020 17:27
    Hi All,
    I'm currently working to upgrade my 32-bit MapBasic code to make it compatible with the newer 64-bit applications.
    One of the things we used to do was alter the MapInfo Pro application title with important information for the user to know what they are looking at/working with.
    In 32-bit editions, we could do this rather simply using the WinAPI command "SetWindowTextA".
    Using this command in 64-bit applications still changes the Application Title that Windows Explorer presents to the user in the task bar, but no longer updates the Application Title within MapInfo Pro.

    Does anyone know how to change the Application Title within the Application? (see the image of what I'm trying to change)
    MIPro Application Title


    Thank you!
    Peadar O'Connor

    ------------------------------
    Peadar O'Connor
    Design & Capability Manager
    Telstra Corporation Ltd
    ------------------------------


  • 2.  RE: Set MapInfo Pro Application Title 64-bit (MIPro 17)

    Posted 01-16-2020 02:44
    You can use the MapBasic statement Set Window to do this:

    Set Window MapInfo Title "Peters MapInfo Pro"

    Do note that if you change the title of the MapInfo Pro main window, the name of the current workspace will not be shown in the title automatically.

    I hope this helps

    ------------------------------
    Peter Horsbøll Møller
    Distinguished Engineer
    Pitney Bowes Software & Data
    ------------------------------



  • 3.  RE: Set MapInfo Pro Application Title 64-bit (MIPro 17)

    Posted 01-22-2020 19:09
    Hi Peter,
    Thank you so much! Some how, this command completely escaped me. I use it frequently on Document windows, but never thought to use it for the application!
    I really appreciate your response, thank you!

    ------------------------------
    Peadar O'Connor
    Design & Capability Manager
    Telstra Corporation Ltd
    Melbourne
    ------------------------------