Toolbar tool: changing icon!

Hi,
I would like to change the icon of a tool (in runtime).
According to tue mouse position when clicked on the button, this tool would assume a certain bitmap.
How can I do it?
How can I get mouse position over a specific tool of a toolbar?
thanks,

  Maurício Inforçati

···

----------------------------------------------------
Ministério da Ciência e Tecnologia
Centro de Pesquisas Renato Archer
http://www.cenpra.gov.br
----------------------------------------------------

Take a look at the wxToolBar demo app. It's pretty complete as to what
you are after.

- Jim

···

On Mon, 2003-10-13 at 06:41, Mauricio Inforçati wrote:

Hi,
I would like to change the icon of a tool (in runtime).
According to tue mouse position when clicked on the button, this tool would assume a certain bitmap.
How can I do it?
How can I get mouse position over a specific tool of a toolbar?
thanks,

  Maurício Inforçati
----------------------------------------------------
Ministério da Ciência e Tecnologia
Centro de Pesquisas Renato Archer
http://www.cenpra.gov.br
----------------------------------------------------