I have implemented the SetStatusText callback function to do
some calculations as mouse moves over a map window. I have also added a
custom tool button with an event handler function. I am only interested
doing the calculations if the custom tool button is toggled on. The problem
is that I don't always know when this is the case. For example, if I click
the Mapinfo Select tool button the custom tool button function never gets
called. Also, within the SetStatusText callback, I cannot run the
CommandInfo(CMD_INFO_TOOLBTN) command to find out which tool button is on.

 

How can I find out if my custom tool button is toggled on or not?

 

I am running MapInfo 7.0.

 

Tom Doonan

Reply via email to