Share

AcDbHostApplicationServices::primaryClientForSelectFileCallback

C++

virtual ACDBCORE2D_PORT const ACHAR * primaryClientForSelectFileCallback();

Description

No mechanism is provided to determine who can become the primary client and who cannot. Applications must work it out amongst themselves as to who should be the primary client. Therefore before you ask to be registered as primary client, please use the above function to find out which application you're overriding.

If there's a primary client already, and you register as a primary client, the old primary will be called only if the new primary doesn't handle the operation. If you remove your callback, then the old one becomes primary client again.

Links

AcDbHostApplicationServices

Was this information helpful?