Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4068536

applet hangs when activation fails

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1.4
    • CPU:
      x86
    • OS:
      windows_nt
    • Verification:
      Verified

      Description


      ingrid.yao@Eng 1997-07-30

      In awt_Component.cpp some code has been added to the Window Procedure that
      returns 0 on all messages, apart from a select few, when a window is not
      visible. Unfortunately one of the messages that is returned is WM_NCACTIVATE
      returning 0 on this message stops an invisible window from being activated/
      inactived!

      Solution:
      Allow default window procedure to handle WM_NCACTIVATE and WM_ACTIVATE

      Proposed Code Change (supplied by Jonathan Locke):
      awt_Component.cpp line 481
              if ((message != WM_SHOWWINDOW) &&
                  (message != WM_DESTROY) &&
                  (message != WM_ENABLE) &&
                  (message != WM_ACTIVATE) && **** Add this
                  (message != WM_NCACTIVATE) && **** Add this
                  (message != WM_SIZE) &&
                  (message != WM_AWT_QUEUE_SYNC) &&
                  (message != WM_AWT_COMPONENT_SHOW) &&
                  (message != WM_AWT_COMPONENT_ENABLE))

        Attachments

          Activity

            People

            Assignee:
            busersunw Btplusnull User (Inactive)
            Reporter:
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: