Working of OnInquire, CPL_DYNAMIC_RES and OnNewInquire
The documentation says, that I must use CPL_DYNAMIC_RES for idName, idInfo or idIcon in OnInquire. Than OnNewInquire will be called, if I need it. Sonds nice, but it's only called once a time. My problem is, that we have a tool, which is able to change its language, not the language of the OS. Therefore, the displaying text of the CPL must be changed too. Has anybody an idea, what I've to do in my CPL, that OnNewInquire is called again?
LONG CToolPanel::OnInquire( UINT uAppNum, CPLINFO* pInfo )
{
pInfo->lData = 0;
pInfo->idName = CPL_DYNAMIC_RES;
pInfo->idInfo = CPL_DYNAMIC_RES;
pInfo->idIcon = CPL_DYNAMIC_RES;
return 0;
}
Re: Working of OnInquire, CPL_DYNAMIC_RES and OnNewInquire
Has really nobody an idea?
Re: Working of OnInquire, CPL_DYNAMIC_RES and OnNewInquire
Re: Working of OnInquire, CPL_DYNAMIC_RES and OnNewInquire
Quote:
Originally Posted by
Arjay
I guess he has not only seen it but he had started it! :rolleyes: