Menu Context IDs
 
 
 

Every menu context needs a unique 32-bit integer identifier. The IDs for 3ds Max's built-in contexts are defined in the iMenuMan.h header file. New plug-ins should use a random, fixed, integer value for the context. This can be generated using the "gencid.exe" program in 3ds Max's SDK. Just use one of the 2 32-bit values generated.