Results 1 to 6 of 6
  1. #1
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Chicago, Illinois, USA
    Posts
    185
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Closing a document closes Word. (2000 sr1)

    Afternoon all.

    I have a user saying that, on a regular but not consistent basis, she closes a document (using the "close" button on the toolbar or the X for the document window (not the application window)) and instead of closing just that document, the Word application itself is closed.

    I have no idea where to even start with this. This is a proficient user, so I believe her when she tells me what she is doing to close the document.

    Any thoughts?

    klyjen

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Closing a document closes Word. (2000 sr1)

    Well...unless there's some automation going on... it does seem that the most likely scenario is hitting the higher X when there is only one doc open. Slipping the mouse a bit is so easy...
    Attached Images Attached Images

  3. #3
    4 Star Lounger
    Join Date
    Mar 2001
    Location
    Bismarck, ND, USA
    Posts
    451
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Closing a document closes Word. (2000 sr1)

    For many users it's trickier to close using the "x's" now. It sure is harder to explain to new users! Here is a link to a download that will let you change the "x's" to the way they worked in previous versions.

    Make Word 2000 Behave Like Word 97

    <hr>"Microsoft changed the Word 2000 interface to act more like a browser. Open a 'page' (document) and a button appears in the Windows Taskbar. In Excel 2000 and PowerPoint 2000, they provided a Tools | Options setting to let you toggle the Windows in Taskbar on or off, but not in Word. Long-time Word forum member, Romke Soldaat, created this Word template: 'Windows in TaskBar.dot' to let you have the same toggle option. He has let us offer it here for you. You can have the Word 2000 Single Document interface (SDI) act more like the earlier version's (MDI) interface." Other Word add-ins are available here, too (including a replacement for the Autocorrect macros supplied with Macros8.dot and Macros9.dot; fixes the bugs contained in the Microsoft-supplied macros).

    <hr>
    egghead

  4. #4
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Chicago, Illinois, USA
    Posts
    185
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Closing a document closes Word. (2000 sr1)

    Yes, that was my thought, but she swears she's not, and that she gets the same behaviour using the "Close" button on the toolbar (we've added that) or File|Close.

    *sigh*

    klyjen

  5. #5
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Closing a document closes Word. (2000 sr1)

    Hi Klyjen:
    You might try seeing if the x & toolbar button, etc. are really assigned to FileClose or some other command (like FileExit). See <!post=this post,127986>this post<!/post> for how to determine the associated command.

    Also, it may be that different commands are associated with different documents or templates. I'd remove everything from the startup folder & rename normal.dot & see if the problem persists. There might be a recent add-in that is causing a problem.

    Hope this helps.

  6. #6
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Closing a document closes Word. (2000 sr1)

    If it gets to the point where you need to disable the App close button in order to troubleshoot this one, you might need something like this:

    Sub RemoveWordCloseButton()
    Dim hMenu As Long
    Dim hwnd As Long
    Dim menuItemCount As Long
    Const MF_BYPOSITION = &H400
    Const MF_REMOVE = &H1000

    hwnd = FindWindow("OpusApp", vbNullString)
    hMenu = GetSystemMenu(hwnd, 0)
    If hMenu Then
    menuItemCount = GetMenuItemCount(hMenu)
    Call RemoveMenu(hMenu, menuItemCount - 1, MF_REMOVE Or MF_BYPOSITION)
    'Remove the system menu separator line
    Call RemoveMenu(hMenu, menuItemCount - 2, MF_REMOVE Or MF_BYPOSITION)
    Call DrawMenuBar(hwnd)
    End If
    End Sub

    The missing pieces are API functions. You can easily find those, or post back and I'll post them.
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •