SOLVED How to Check If you are in a Specific Tab?

Hi,

Is there a way to check if you are in a specific tab?
I have a contextual menu that triggers through RMB.
It works. The problem is it works on all tabs. It should work on only a specific tab.

You can see the problem here:
https://www.dropbox.com/s/nhksy19e74zfxfk/c4d215_check_if_you_are_in_a_specific_tab.mp4?dl=0

Is there a way around this?
Thank you.

A Tab is stored as an Int.
So you can retrieve the value by GeDialog::GetInt32.

You have a complete example in What message or Id do I get when the user select a tab in my dialog?

Cheers,
Maxime.

@m_adam

Thanks. Works as expected.