Hi, On 10/09/2013 11:55 AM, pang long wrote: > Dear Klaas > I created my own Tool inherited from a2dSelectTool. I overrode the > virtual function GenerateAnotation(). Just now it displayed the > annotation. However there are some problems: > (1) OnIdle is earlier than OnCommunicationEvent. > For OnCommunicationEvent, my defined event handler class was
What event that is i don't know, it looks like you use EVT_COM_EVENT(). But i do not see why. > > (2) quick clicking avoid the appearance of annotation > If I click quickly, the annotation will not appear. I have to wait > for a moment to release the left mouse key after left mouse key was > pressed down. Is it possible to show the annotation after the click, no > matter how quick I click ? I think so yes. > > (3) How do I move the view region into the highest element of > graphics? Don't understand. What is a view Region?? ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev