[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

Re: [XaraXtreme-dev] ChildWindowFromPoint and other questions

--On 14 April 2006 14:50 +0400 Mark Loumbert <mark@xxxxxxxxxxxxxxx> wrote:

The problem here is much simpler, Alex - currently I'm porting the
Picker's wxOil code that shows help message to the user in the status bar
that should correspond to the child window that is under cursor, so this
is quite straightforward usage.

Well if the code is in wxOil anyway, just go ahead and call

Of course I can use the general
wxFindWindowAtPoint one, but the result won't be the same. In my opinion
it will even be more adequate - if some other window covers the child -
why should I display the help message ?

I'd tend to agree.

But for the sake of consistency
of a working code, I have first to port exactly the same functionality
and then  optimize it trying not to bring the new bugs.

Indeed - I did / am doing the same with galleries.