I have searched the forum here, and found some stuff along the right lines, but nothing that answers my question.
I have created an Icon (as a side note, is there an icon creation routine in Dev? I could not find one if there is and used VC++ to create my Icon file and just saved it into my Dev project...took a littlte tweaking, but worked) now I have code that compiles and runs, but my small icon is still the default application icon, even though my code reads and compiles as so:
the application icon works, I placed it on my desktop and launched the program from there, but like I said, the small icon is still the default.
I would appreciate any help, I am sure it is something simple I have not done right.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-06-12
Update:
When window is minimized, the correct Icon appears in the task bar button, so apparantly the wincl.hIconSm is working. Is the Icon the app uses when not minimzed .hIcon? Or is it something else?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-06-12
Bizarre....not sure what I did, but copied and pasted some menu stuff into my project, recompiled, and now the Icon works for everything. Had tried to recompile previously, but did not work. Only worked when I changed the file. Now that I am thinking about it, Dev seems to do that. Things do not get updated until the file is changed, resaved and recompiled. Any one know why that is?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
<<<Dev seems to do that. Things do not get updated until the file is changed, resaved and recompiled.>>>
+++++++++++++
Yes, I can confirm that: Changing the source code of my programs makes no difference at all in the way the programs behave unless I save the changes and recompile the program. Its unexplainable...
Yoda++ >;)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have searched the forum here, and found some stuff along the right lines, but nothing that answers my question.
I have created an Icon (as a side note, is there an icon creation routine in Dev? I could not find one if there is and used VC++ to create my Icon file and just saved it into my Dev project...took a littlte tweaking, but worked) now I have code that compiles and runs, but my small icon is still the default application icon, even though my code reads and compiles as so:
wincl.hIcon = LoadIcon (hThisInstance, MAKEINTRESOURCE(IDI_VEICON));
wincl.hIconSm = LoadIcon (hThisInstance, MAKEINTRESOURCE(IDI_VEICON));
the application icon works, I placed it on my desktop and launched the program from there, but like I said, the small icon is still the default.
I would appreciate any help, I am sure it is something simple I have not done right.
Update:
When window is minimized, the correct Icon appears in the task bar button, so apparantly the wincl.hIconSm is working. Is the Icon the app uses when not minimzed .hIcon? Or is it something else?
Bizarre....not sure what I did, but copied and pasted some menu stuff into my project, recompiled, and now the Icon works for everything. Had tried to recompile previously, but did not work. Only worked when I changed the file. Now that I am thinking about it, Dev seems to do that. Things do not get updated until the file is changed, resaved and recompiled. Any one know why that is?
<<<Dev seems to do that. Things do not get updated until the file is changed, resaved and recompiled.>>>
+++++++++++++
Yes, I can confirm that: Changing the source code of my programs makes no difference at all in the way the programs behave unless I save the changes and recompile the program. Its unexplainable...
Yoda++ >;)
Whatever changes you make to your source code, you'll need to recompile and link for the change to be effective, that is, create a new executable.