No, I don't know how to access the nCmdShow parameter. Is there any possibility? On the other hand, about linkage and magling, I simply do not know. Thanks for the new code, I will give it a try.