Hide menu bar

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Stephen G.
    Indigo Rose Customer
    • Feb 2004
    • 159

    Hide menu bar

    Is it possible to hide the menu bar on selected pages without effecting the entire project? Searched the help menu and the forum with no luck on this one.

    example:
    page1 - hide menu bar
    page2 - show menu bar
    page3 - hide menu bar
    ...
  • RizlaUK
    Indigo Rose Customer
    • May 2006
    • 5552

    #2
    use the below dll call to remove the menu

    Code:
    DLL.CallFunction(_SystemFolder.."\\user32.dll", "SetMenu", Application.GetWndHandle()..",0", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL);
    and to show the menu again use Application.SetMenu

    your menu will have to be hand coded for this, look in the help file under Application.SetMenu for more details

    EDIT,

    use this to remove the menu
    Code:
    Application.SetMenu({});
    Embrace change in your life, you never know, it could all work out for the best

    Comment

    • Stephen G.
      Indigo Rose Customer
      • Feb 2004
      • 159

      #3
      Thank you. One final question. Is it possible to set a timer on the entire application rather than per project page.

      example:
      Trial session has exceeded 90 minutes.
      Application will now terminate.

      Comment

      • RizlaUK
        Indigo Rose Customer
        • May 2006
        • 5552

        #4
        yeah, use my Timer ocx from application startup (On Startup), then you have a global timer/s :yes

        Embrace change in your life, you never know, it could all work out for the best

        Comment

        • longedge
          Indigo Rose Customer
          • Aug 2003
          • 2498

          #5
          Timing how long an app has been running was discussed here.

          Comment

          • RizlaUK
            Indigo Rose Customer
            • May 2006
            • 5552

            #6
            ah ha, post 11 is just the ticket, good ol worm

            Embrace change in your life, you never know, it could all work out for the best

            Comment

            Working...
            X