List Info

Thread: Re: More MAC questions




Re: More MAC questions
country flaguser name
United States
2007-07-20 12:15:45

Julian:

Perhaps I am missing something here, like the definition of a predefined
control.

Is a wxFrame a predefined control? a wxBitmap?

What I have is a bitmap that I am presenting. It is tied to the real
world and my program knows this connection. When I click on a point I
want to have the program present information derived from tying the
mouse click point to the real world, and then getting the information
for that real world point.

I have no predefined control as I have mentally defined it.

Any thoughts or help?

Thanks,
Ralph Pass

Julian Smart wrote:
>
> Hi,
>
> You may or may not be able to intercept low-level events from a control
> - this will be a platform-specific issue. Generally you should use
> command events with predefined controls. Native controls are likely to
> swallow low-level events such as button-up.
>
> Regards,
>
>; Julian
>

__._,_.___
.

__,_._,___
Re: More MAC questions
country flaguser name
United Kingdom
2007-07-20 12:22:09

Hi Ralph,

Sorry, I deduced wrongly that you were trying to intercept a button-up
from a wxButton control.

Ralph Pass wrote:
> Julian:
>
> Perhaps I am missing something here, like the definition of a predefined
> control.
>
>; Is a wxFrame a predefined control? a wxBitmap?
>
A wxBitmap is not a control, and wxFrame wasn't a control in the sense I
was meaning - something that presents a higher-level command event to
the application.
> What I have is a bitmap that I am presenting. It is tied to the real
> world and my program knows this connection. When I click on a point I
> want to have the program present information derived from tying the
> mouse click point to the real world, and then getting the information
> for that real world point.
>
I can't think why there should be a problem getting a mouse up event if
you've defined a handler for it and an event table entry... but then
it's hard to say without seeing code.

Regards,

Julian

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )