Uploaded image for project: 'FireBreath Core'
  1. FireBreath Core
  2. FIREBREATH-84

CustomWinProc can only handle messages which are unhandled

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: FireBreath 1.5.2
    • Operating System:
      Windows
    • Web Browser:
      Firefox 3.x, Firefox 4.x, Google Chrome, Apple Safari, Internet Explorer 6-8, Internet Explorer 9, Opera, Other

      Description

      The CustomWinProc function in PlugingWindowWin.h would be far more useful if it could override the default handlers. Currently we need to use the WindowsEvent to override the default message handlers. This is fine but it creates messy code and I would prefer to call SendEvent from CustomWinProc for custom events that I have created and handle them as described here: http://www.firebreath.org/display/documentation/class+FB+PluginEventSink+HandleEvent

      The fix would be to move lines 161 and 162 up to 77: http://classdocs.firebreath.org/_plugin_window_win_8cpp_source.html#l00161

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                richard Richard Bateman
                Reporter:
                arriu Zelimir
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: