1 Reply Latest reply on Sep 19, 2018 4:33 AM by Ioan Bordei

    Hide SolidWorks menu bar

    Ioan Bordei

      It is possible to hide all of the user interface elements, including the SolidWorks menu bar?

        • Re: Hide SolidWorks menu bar
          Artem Taturevych

          Could you please clarify why do you want to do this?


          There is no direct API for doing this


          I see several options:

          • All menus and commands are windows controls so they can be hidden via native Windows API. You can get the HWND from the SOLIDWORKS frame and traverse controls to hide them
          • You can use SOLIDWORKS as an OLE object embedding. An example of this would be a SOLIDWORKS model embedded to Excel spreadsheet. In this case you can only work with the model but no controls are visible. You will also need to involve native APIs to embed SOLIDWORKS model
          • If you only need to disallow users to do any modifications you can disable the menus and commands. For me this is a preferable option as you can do it via SOLIDWORKS API without the need of involving any native Windows API. Please take a look at this example: Block Model Editing