ICON
-
Hi,
1.
wie kann ich einem Programm ein neues Icon geben. Allso als Recource einbinden und das Icon dann gegen das Standarticon eintauschen???
2.
Wie kann ich hier ein Icon einbinden?
Code:
wc.hIcon = LoadIcon(NULL, IDI_WINLOGO); //Wie lädt man hier ein ico-Imagemfg DKing
cya
-
[msdn]
hInstance
[in] Handle to an instance of the module whose executable file contains the icon to be loaded. This parameter must be NULL when a standard icon is being loaded.
lpIconName
[in]Pointer to a null-terminated string that contains the name of the icon resource to be loaded. Alternatively, this parameter can contain the resource identifier in the low-order word and zero in the high-order word. Use the MAKEINTRESOURCE macro to create this value.
To use one of the predefined icons, set the hInstance parameter to NULL and the lpIconName parameter to one of the following values.
[/msdn]steht doch alles da ? hinstance übergeben und icon mit res id