dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Working of OnInquire, CPL_DYNAMIC_RES and OnNewInquire

  1. #1
    Join Date
    Sep 2004
    Location
    91207 Lauf an der Pegnitz
    Posts
    4

    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;
    }

  2. #2
    Join Date
    Sep 2004
    Location
    91207 Lauf an der Pegnitz
    Posts
    4

    Re: Working of OnInquire, CPL_DYNAMIC_RES and OnNewInquire

    Has really nobody an idea?

  3. #3
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,033

    Re: Working of OnInquire, CPL_DYNAMIC_RES and OnNewInquire


  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,423

    Re: Working of OnInquire, CPL_DYNAMIC_RES and OnNewInquire

    Quote Originally Posted by Arjay View Post
    I guess he has not only seen it but he had started it!
    Victor Nijegorodov

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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)