[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
Re: [XaraXtreme-dev] Active view problem
- From: Phil Martin <phil@xxxxxxxx>
- Date: Thu, 29 Jun 2006 17:59:27 +0100
- Subject: Re: [XaraXtreme-dev] Active view problem
In fact, clicking on the window doesn't fix the bad state - the
message and cursor shape are corrected until the status line next
responds to an idle event.
Could be something fundamental about calling wxChildWindowFromPoint
under idle events...
On 29 Jun 2006, at 17:35, Phil Martin wrote:
I've just been looking into that problem where the cursor and
status line flash back to "there's nothing under the pointer"
values when two documents are open and you use the tabs to switch
The previous thought was that the DocView::Selected was not being
set properly but I've just found that that's not the problem. The
problem is that DialogManager::GetWindowUnderPointer is returning a
pointer to the same view window before and after clicking on the
view tab. (That means wxChildWindowFromPoint is returning the wrong
It may be returning a pointer to the "topmost" view in the list of
Clearly when you click on the window this bad state gets cleared so
there's probably something we can do in OnActivateView to overcome
this. I'm investigating...