On 06.07.2005 01:01, Detlef Riekenberg wrote:
- /* Icon in native printui.dll: "Not the default, connected Local Printer" */
- SHELL32_hmodule = LoadLibraryA("printui.dll");
- iconindex = 1;
- if (SHELL32_hmodule == NULL)
- {
/* Icon in shell32.dll: "Not the default, connected Local Printer" */
SHELL32_hmodule = shell32_hInstance;
iconindex = IDI_SHELL_PRINTER;
- }
Actually, all the different printer icons are contained in shell32.dll; hence, trying to use printui.dll there is probably rather counter-productive...
-f.r.
Am Mittwoch, den 06.07.2005, 01:25 +0200 schrieb Frank Richter:
On 06.07.2005 01:01, Detlef Riekenberg wrote:
- /* Icon in native printui.dll: "Not the default, connected Local Printer" */
- SHELL32_hmodule = LoadLibraryA("printui.dll");
- iconindex = 1;
Actually, all the different printer icons are contained in shell32.dll; hence, trying to use printui.dll there is probably rather counter-productive...
When using "printui.dll", I get the original Windows Icons. And Yes, our shell32.dll as a Printer-Icon, but only the default Pair (32x32 and 16x16) and it locked somewhat "oldfashioned".
Alexandre already commited a modified version from my first Patch (using shell32_hInstance in LoadImage).