CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Ninkazu

Search: Search took 0.03 seconds.

  1. Replies
    9
    Views
    19,738

    Re: [RESOLVED] Capture click before all children

    Thanks Mad Hatter. I ended up not needing the IExtenderProvider. Here was my solution


    // for intercepting clicks to select different plots
    class MessageFilter : IMessageFilter
    ...
  2. Replies
    9
    Views
    19,738

    Re: Capture click before all children

    It looks like there is indeed no easy solution to this then. So be it. Thanks for the help.
  3. Replies
    9
    Views
    19,738

    Re: Capture click before all children

    Having written a couple widgets libraries myself, I tend to think that the hierarchy should be kept in the framework and that messages should pass from the top down rather than to the one component...
  4. Replies
    9
    Views
    19,738

    Re: Capture click before all children

    I was hoping to avoid that kind of ugly solution, since it's one more thing to maintain when new things are added down the line. I'll do it if it's the only option, but only then.
  5. Replies
    9
    Views
    19,738

    [RESOLVED] Capture click before all children

    My first and most important question is how does one capture a click event before any of the child controls? I have multiple panels that have different controls in them, and whenever I click anywhere...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured