|
From: Blagoja G. <bla...@gm...> - 2005-10-12 16:45:59
|
Hind Fadel wrote: > In the ressource file : > 100 ICON DISCARDABLE "test.ico" > > And be sure that the icon file is in the same directory than the source > file or change the path, for example "res//test.ico" if the icon is in > the res directory. > > In the header file or the source file: > #define ID_ICON 100 > > And in the source file : > wincl.hIcon = LoadIcon (hThisInstance, MAKEINTRESOURCE(ID_ICON)); > > If you need more information about the syntax or the use of the win32 > functions, use the win32 help, try for example this link to download it : > dimcom.uqac.ca/~ecoete/ftp/mmedia/MSHelp/WIN32.HLP > > Good Luck It work, thanks for help. I have another question...can you explain syntax of line in test_private.rc file? A ICON MOVEABLE PURE LOADONCALL DISCARDABLE "test.ico" Why it start with character "A" and in your example is number "100" ? 100 ICON DISCARDABLE "test.ico" What is meaning of "MOVEABLE PURE LOADONCALL" ? Thanks again, Blagoja |