Just to make sure:
You would like to render your scene once (some solid glass objects) and then load it into Photoshop or other post-processing tool and change the background color?
Then you would like to get results as similar as possible to rendering the same scene in 3ds Max with a different background? (for example blue, yellow, red, whatever color)
Please confirm that this is what you would like to do.
It was surprising to me, but for some reason this is really hard to do (at least with solid glass boxes). I haven't found a good way to do it yet using CMasking, Alpha, Cryptomatte, Photoshop, and Fusion. :)
What I have noticed is that if you enable mask propagation for your glass objects, this works fine in CMasking render elements, but not in the default Alpha element. This seems to be unexpected so I will log it, but unfortunately it does not help with the above scenario.