🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages Started by Richard Yu Mon, 07 Apr 2003 21:46
how to add a comment string to a control panel application?
#17156
Author: Richard Yu
Date: Mon, 07 Apr 2003 21:46
6 lines
1275 bytes
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 ?

I have added the comment in project/option/version Info, "comment " in the
box of key/value, when start control panel, still no comment show up.
Re: how to add a comment string to a control panel application?
#17157
Author: Remy Lebeau (TeamB)
Date: Mon, 07 Apr 2003 22:27
18 lines
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 ?
Re: how to add a comment string to a control panel application?
#17088
Author: Richard Yu
Date: Tue, 08 Apr 2003 20:38
25 lines
2126 bytes
thanks so much, it works.

"Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message
news:3e91fb55@newsgroups.borland.com...
> 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 ?
>
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads