Tool Plugin changing active tab

On 27/07/2014 at 07:44, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R15 Stud 
Platform:      Mac OSX  ; 
Language(s) :     C++  ;

---------
I have a tool plugin (derived from DescriptionToolPlugin). I have a couple of buttons which I catch using the ::Message() MSG_DESCRIPTION_COMMAND method as you would expect.

I would like to handle the button event (doing this part ok) and then change the active tab in the tool's attribute manager window. How can I force the attribute manager window to switch to a different group (displayed as the top level tabs) in the tool's window?

I know the answer will be easy. Mental block so can't think where to look in the documentation!