RE: how to add control panel applet
- From: Saga <Saga@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 5 Sep 2008 01:32:02 -0700
Hi
1. create your own icon (MY_ICON) with the pb ressource editor.
2. load the icon with LoadIcon()
3. inside the CPL_NEWINQUIRE message replace the hIcon value of your
LPNEWCPLINFO struct with your icon
thats it.
for example
case CPL_NEWINQUIRE:
{
......
lpNewCplInfo->hIcon = LoadIcon (g_hInst,(LPCTSTR) MAKEINTRESOURCE(MY_ICON));
.....
}
f.e.
see http://msdn.microsoft.com/en-us/library/ms914264.aspx for an example and
replace the lpNewCplInfo->hIcon value with your loaded icon.
regards
sascha
.
- Follow-Ups:
- RE: how to add control panel applet
- From: Gul
- RE: how to add control panel applet
- References:
- how to add control panel applet
- From: Gul
- how to add control panel applet
- Prev by Date: how to add control panel applet
- Next by Date: Advanced debugging an image
- Previous by thread: how to add control panel applet
- Next by thread: RE: how to add control panel applet
- Index(es):
Relevant Pages
|
Loading