halfplemented mouse control panel applet

svn path=/trunk/; revision=21786
This commit is contained in:
Johannes Anderwald 2006-05-03 13:45:22 +00:00
parent 56339e3e49
commit 534b5a2027
3 changed files with 1126 additions and 23 deletions

View file

@ -105,12 +105,20 @@ DllMain(HINSTANCE hinstDLL,
DWORD dwReason,
LPVOID lpReserved)
{
INITCOMMONCONTROLSEX InitControls;
switch(dwReason)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
hApplet = hinstDLL;
break;
InitControls.dwSize = sizeof(INITCOMMONCONTROLSEX);
InitControls.dwICC = ICC_LISTVIEW_CLASSES | ICC_UPDOWN_CLASS | ICC_BAR_CLASSES;
InitCommonControlsEx(&InitControls);
hApplet = hinstDLL;
break;
}
return TRUE;

View file

@ -11,6 +11,8 @@
<library>user32</library>
<library>comctl32</library>
<library>devmgr</library>
<library>comdlg32</library>
<library>gdi32</library>
<file>keyboard.c</file>
<file>main.c</file>
<file>mouse.c</file>

File diff suppressed because it is too large Load diff