Kick
02-10-2009, 03:05 PM
Why not work this code?
hWND = Application.GetWndHandle();
Result = DLL.CallFunction("shell32.dll", "ExtractIcon", hWND..",\"".._SystemFolder.."\\shell32.dll\",-1", DLL_RETURN_TYPE_INTEGER, DLL_CALL_STDCALL);
And is it possible to draw the icon file in the project, with its handle using ExtractIcon?
__________________________
Sorry for my English .. translated with Google
hWND = Application.GetWndHandle();
Result = DLL.CallFunction("shell32.dll", "ExtractIcon", hWND..",\"".._SystemFolder.."\\shell32.dll\",-1", DLL_RETURN_TYPE_INTEGER, DLL_CALL_STDCALL);
And is it possible to draw the icon file in the project, with its handle using ExtractIcon?
__________________________
Sorry for my English .. translated with Google