Hi Dave:
I added a wxPanel to my test program, enabled the left mouse up event
and it worked (taking the event handler I had defined for wxFrame
without any effort on my part). As was said on Laugh-in
VVVVEEEEERRRRYYY Interesting.
Thanks,
Ralph Pass
ddotedotsdot wrote:
>
> -
>
> Hi!
>
> I believe Julian is referring to any of the container windows
> ("Containers" in DB [sans wxWizardPage, wxStatusBar]). E.G., to get
> the "usual" background in a top level wxFrame, one might add a
> wxPanel, which can have any or all mouse events handled for it. This
> would be a bare minimum that would be almost no impact on the
> application (in terms of application size). The panel could then be
> your mouse event handler. If you prefer not to have DB generate
> Connect() code for dynamic event handling and would rather have a
> table, just give the panel it's own class name and uncheck the
> External implementation check box under the "Class" property sheet. DB
> will then generate a separate class for the panel, in the frame's .h
> and .cpp files, and give it it's own event table.
>
> HTH:
>
> thx,
> Dave S.
>
> __._
.