Remove toolbar from windows term possible?

Help
John Chan
2012-07-16
2013-02-10
  • John Chan
    John Chan
    2012-07-16

    When using the windows terminal, is it possible to remove the toolbar at the top of the window (the one with copy, print, save…)? 

    If I have to modify the sourcecode, could you point me to the file to edit?  Much appreciated.

     
  • You would have to modify the source code. Try commenting out lines 459-463 in src/win/wgraph.c:

    /* create a toolbar */
    lpgw->hToolbar = CreateWindowEx(0, TOOLBARCLASSNAME, NULL,
    WS_CHILD | TBSTYLE_LIST | TBSTYLE_TOOLTIPS, // TBSTYLE_WRAPABLE
    0, 0, 0, 0,
    lpgw->hWndGraph, (HMENU)ID_TOOLBAR, lpgw->hInstance, lpgw);