how do i add stuff to the control panel?

Posted: 10-27-2007, 06:14 PM
i was wondering if anyone knew how to create their own control panel
applets. if anyone does, can they please tell me how to because i want to
know how to. there are certian things i want to add to the control panel,
like a shortcut to the Conventional User Account Interface. i want to add
other stuff as well.


Reply With Quote

Responses to "how do i add stuff to the control panel?"

Kelly
Guest
Posts: n/a
 
Re: how do i add stuff to the control panel?
Posted: 10-27-2007, 07:16 PM
Use as an example: You will need a key generator.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}]
@="User Accounts 2"
"InfoTip"="Starts The Windows 2000 style User Accounts dialog"

[HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\DefaultIcon]
@="%SystemRoot%\\\\System32\\\\nusrmgr.cpl,1"

[HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell]

[HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open]

[HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open\command]
@="Control Userpasswords2"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Explorer\ControlPanel\NameSpace\{98641F 47-8C25-4936-BEE4-C2CE1298969D}]
@="Add Userpasswords2 to Control Panel"


--

All the Best,
Kelly (MS-MVP/DTS&XP)

Taskbar Repair Tool Plus!
http://www.kellys-korner-xp.com/taskbarplus!.htm


"Steven Wabik" <Stevenw45@verizon.net> wrote in message
news:uYyELzLGIHA.936@TK2MSFTNGP06.phx.gbl...
>i was wondering if anyone knew how to create their own control panel
>applets. if anyone does, can they please tell me how to because i want to
>know how to. there are certian things i want to add to the control panel,
>like a shortcut to the Conventional User Account Interface. i want to add
>other stuff as well.
>

Reply With Quote
Steven Wabik
Guest
Posts: n/a
 
Re: how do i add stuff to the control panel?
Posted: 10-27-2007, 11:22 PM
ok... will you simlify that? i understand that, but now how do i add that
to the registry? and where do i get a key generator?
"Kelly" <kelly@mvps.org> wrote in message
news:eyPv3VMGIHA.1208@TK2MSFTNGP05.phx.gbl...
> Use as an example: You will need a key generator.
>
> Windows Registry Editor Version 5.00
>
> [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}]
> @="User Accounts 2"
> "InfoTip"="Starts The Windows 2000 style User Accounts dialog"
>
> [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\DefaultIcon]
> @="%SystemRoot%\\\\System32\\\\nusrmgr.cpl,1"
>
> [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell]
>
> [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open]
>
> [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open\command]
> @="Control Userpasswords2"
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Explorer\ControlPanel\NameSpace\{98641F 47-8C25-4936-BEE4-C2CE1298969D}]
> @="Add Userpasswords2 to Control Panel"
>
>
> --
>
> All the Best,
> Kelly (MS-MVP/DTS&XP)
>
> Taskbar Repair Tool Plus!
> http://www.kellys-korner-xp.com/taskbarplus!.htm
>
>
> "Steven Wabik" <Stevenw45@verizon.net> wrote in message
> news:uYyELzLGIHA.936@TK2MSFTNGP06.phx.gbl...
>>i was wondering if anyone knew how to create their own control panel
>>applets. if anyone does, can they please tell me how to because i want to
>>know how to. there are certian things i want to add to the control panel,
>>like a shortcut to the Conventional User Account Interface. i want to add
>>other stuff as well.
>>
>
>

Reply With Quote
Steven Wabik
Guest
Posts: n/a
 
Re: how do i add stuff to the control panel?
Posted: 10-27-2007, 11:49 PM
well, nevermind about how to add it to the registry. i know how to do that,
thanks to you giving me the proper information. now, the only thing i
dislislike about it is the icon it chose for it for when it was placed in
the control panel. how do i change the icon for it?i want the icon to match
the other "user accounts" control that is in control panel.
"Kelly" <kelly@mvps.org> wrote in message
news:eyPv3VMGIHA.1208@TK2MSFTNGP05.phx.gbl...
> Use as an example: You will need a key generator.
>
> Windows Registry Editor Version 5.00
>
> [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}]
> @="User Accounts 2"
> "InfoTip"="Starts The Windows 2000 style User Accounts dialog"
>
> [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\DefaultIcon]
> @="%SystemRoot%\\\\System32\\\\nusrmgr.cpl,1"
>
> [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell]
>
> [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open]
>
> [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open\command]
> @="Control Userpasswords2"
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Explorer\ControlPanel\NameSpace\{98641F 47-8C25-4936-BEE4-C2CE1298969D}]
> @="Add Userpasswords2 to Control Panel"
>
>
> --
>
> All the Best,
> Kelly (MS-MVP/DTS&XP)
>
> Taskbar Repair Tool Plus!
> http://www.kellys-korner-xp.com/taskbarplus!.htm
>
>
> "Steven Wabik" <Stevenw45@verizon.net> wrote in message
> news:uYyELzLGIHA.936@TK2MSFTNGP06.phx.gbl...
>>i was wondering if anyone knew how to create their own control panel
>>applets. if anyone does, can they please tell me how to because i want to
>>know how to. there are certian things i want to add to the control panel,
>>like a shortcut to the Conventional User Account Interface. i want to add
>>other stuff as well.
>>
>
>

Reply With Quote
Steven Wabik
Guest
Posts: n/a
 
Re: how do i add stuff to the control panel?
Posted: 11-04-2007, 07:38 PM
i noticed that in the powertoy ttweak UI by microsoft some of the control
panel shortcuts are .cpl files. instead of adding stuff to the control panel
via the registry i was wondering if there was a way to create .cpl files to
add stuff to the registry?
"Steven Wabik" <Stevenw45@verizon.net> wrote in message
news:ed7JZuOGIHA.6068@TK2MSFTNGP05.phx.gbl...
> well, nevermind about how to add it to the registry. i know how to do
> that, thanks to you giving me the proper information. now, the only thing
> i dislislike about it is the icon it chose for it for when it was placed
> in the control panel. how do i change the icon for it?i want the icon to
> match the other "user accounts" control that is in control panel.
> "Kelly" <kelly@mvps.org> wrote in message
> news:eyPv3VMGIHA.1208@TK2MSFTNGP05.phx.gbl...
>> Use as an example: You will need a key generator.
>>
>> Windows Registry Editor Version 5.00
>>
>> [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}]
>> @="User Accounts 2"
>> "InfoTip"="Starts The Windows 2000 style User Accounts dialog"
>>
>> [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\DefaultIcon]
>> @="%SystemRoot%\\\\System32\\\\nusrmgr.cpl,1"
>>
>> [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell]
>>
>> [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open]
>>
>> [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open\command]
>> @="Control Userpasswords2"
>>
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Explorer\ControlPanel\NameSpace\{98641F 47-8C25-4936-BEE4-C2CE1298969D}]
>> @="Add Userpasswords2 to Control Panel"
>>
>>
>> --
>>
>> All the Best,
>> Kelly (MS-MVP/DTS&XP)
>>
>> Taskbar Repair Tool Plus!
>> http://www.kellys-korner-xp.com/taskbarplus!.htm
>>
>>
>> "Steven Wabik" <Stevenw45@verizon.net> wrote in message
>> news:uYyELzLGIHA.936@TK2MSFTNGP06.phx.gbl...
>>>i was wondering if anyone knew how to create their own control panel
>>>applets. if anyone does, can they please tell me how to because i want to
>>>know how to. there are certian things i want to add to the control panel,
>>>like a shortcut to the Conventional User Account Interface. i want to add
>>>other stuff as well.
>>>
>>
>>
>
>

Reply With Quote
alanglloyd@aol.com
Guest
Posts: n/a
 
Re: how do i add stuff to the control panel?
Posted: 11-04-2007, 08:24 PM
On Nov 4, 7:38?pm, "Steven Wabik" <Steven...@verizon.net> wrote:
> i noticed that in the powertoy ttweak UI by microsoft some of the control
> panel shortcuts are .cpl files. instead of adding stuff to the control panel
> via the registry i was wondering if there was a way to create .cpl files to
> add stuff to the registry?
You create a DLL and in the code you export a function named
CPLApplet. This function has a declaration (in Delphi) of ...

function CPlApplet(hwndCPl: THandle; uMsg: DWORD;
lParam1, lParam2: Longint): Longint; stdcall;

In the function code you must handle uMsg (again in Delphi) of ...

const
NUM_APPLETS = 1;
intTrue = integer(true);
intFalse = integer(false);

case uMsg of
CPL_INIT : Result := intTrue;
CPL_GETCOUNT : Result := NUM_APPLETS;
CPL_INQUIRE :
begin
lParam1 := 0;
with PCPlInfo(lParam2)^ do begin
{resource identifiers in the control panel applet see
below for typical}
idName := 1;
idInfo := 2;
idIcon := 3;
end;
Result := intTrue;
end;
CPL_SELECT : Result := intFalse;
CPL_DBLCLK :
// This calls the display of the form you have coded for the
CP applet
CPL_STOP : Result := intFalse;
CPL_EXIT : Result := intFalse;
CPL_NEWINQUIRE : Result := intFalse;
else Result := intFalse;
end;

Typical resource content file (*.RC sent to a resource compiler)
contains references for the displayed applet name, the info tip, and
the icon in the resource, typically ...

STRINGTABLE
{
1, "Control Panel Applet"
2, "My First Control Panel Applet"
}
3 ICON "..\Icons\My CP Applet.ico"

When you have created the DLL, then you rename it to a .cpl and place
it in the <windows>\System\System32 folder. The OS will pick it up
from there and diaplay it in Control Panel.

Google for "CPApplet" and your favourite language, and you'll get
something described in that langauge.

Alan Lloyd

Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Control Panel Natalina Windows Vista Administration 1 10-12-2007 04:48 PM
Control Panel GWJ Windows XP Configuration & Management 4 06-02-2007 11:39 PM
Control Panel Shiva Windows XP New Users 15 09-26-2004 12:25 PM
can't get into control panel jerry Windows XP Performance & Maintenance 0 07-17-2003 02:00 PM
Control panel, Run etc harry sharma Windows XP Accessibility 0 07-09-2003 02:25 AM


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90