[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-dev] Active view problem
- From: Phil Martin <phil@xxxxxxxx>
- Date: Thu, 29 Jun 2006 17:35:23 +0100
- Subject: [XaraXtreme-dev] Active view problem
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 between them...
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 window
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...