Re: wxEuphoria - wxHtmlWindow vs Vista
Jerry Story wrote:
>
> Matt Lewis wrote:
> >
> > I think that the problem is that the parent-child relationships are
> > incorrect. winHtml is parented to Win, but it's put into the sizer for
> > pnlHtml, which is the panel for a different frame.
> >
> > In any case, this code doesn't run. If fixing the parent-child relationship
> > (or maybe putting it into a different sizer) don't help, then please
> > refactor this into a working, minimal program that displays the problem
> > behavior, and I'll take another look at it.
> >
> > Matt
>
>
> Here it is.
This is very strange. What is the point of frmHtml and pnlHtml? I don't
understand why winHtml gets added to the sizer for pnlHtml, even though
it's not a child of pnlHtml.
The problem with the event is that the widgets underneath the html window
are getting the clicks. I think the solution is probably to have a main
sizer for the Win panel, and have a sizer for the widgets, and a sizer for
the html window. Then you can probably use the wxSizer::Hide() routine (not
wrapped yet) to get the effect you desire.
I'll have to fill out the sizer wrappers. There is a fair amount of
functionality to be added in that area.
Matt
|
Not Categorized, Please Help
|
|