Article View: borland.public.cppbuilder.nativeapi
Article #17157Re: how to add a comment string to a control panel application?
From: Remy Lebeau (TeamB)
Date: Mon, 07 Apr 2003 22:27
Date: Mon, 07 Apr 2003 22:27
18 lines
1898 bytes
1898 bytes
The comment is returned in a response to the CPL_INQUIRE message passed to your CplApplet() entry point. The message contains a CPLINFO structure instance that you need to fill in with information about your applet. You need to add a string table to your application, and then in the idInfo member of the CPLINFO structure, return the resource ID of the string that cooresponds to your comment. Also implement a handler for the CPL_NEWINQUIRE message as well, and fill in the passed-in NEWCPLINFO structure with the same information. Only this time, you can copy the string into the NEWCPLINFO structure directly without using a string table. Gambit "Richard Yu" <richard@colorselector.com> wrote in message news:3e91f234@newsgroups.borland.com... > When you start a control panel in explore with "detail" selected, > you see in comment column, the string of comment, how can I add > this comment to my CPL application ?
Technical Details
Message-ID:
<3e91fb55@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e91f234@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,851e0126e2b367ae X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-07 15:32:32 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3e91f234@newsgroups.borland.com> Subject: Re: how to add a comment string to a control panel application? Date: Mon, 7 Apr 2003 15:27:48 -0700 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3e91fb55@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1049754453 207.175.226.26 (7 Apr 2003 15:27:33 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail