-
March 18th, 2019, 06:21 AM
#1
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;
}
-
April 24th, 2019, 08:33 AM
#2
Re: Working of OnInquire, CPL_DYNAMIC_RES and OnNewInquire
Has really nobody an idea?
-
April 25th, 2019, 01:40 PM
#3
Re: Working of OnInquire, CPL_DYNAMIC_RES and OnNewInquire
-
April 25th, 2019, 05:53 PM
#4
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|