Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TopWindow&PopUp, TrayIcon » How to add Topwindow icon?
How to add Topwindow icon? [message #9564] Thu, 17 May 2007 15:10 Go to previous message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
I wanted to add a Icon to my Topwindow. I added a .iml to my package and this code to my main.cpp:

#define IMAGECLASS appImg
#define IMAGEFILE "app.iml"


and this to my header-file:

#include <Draw/iml.h>


but got these error:

In file included from C:/Programme/UPP/uppsrc/Draw/iml.h:5,
                 from J:\Entwicklung\UPP\prohibisZA\/prohibisZA.h:13,
                 from J:\Entwicklung\UPP\prohibisZA\mainmenu.cpp:7,
                 from C:/Programme/UPP/out/prohibisZA/MINGW.Blitz.Gui.Main\$blitz.cpp:3:
C:/Programme/UPP/uppsrc/Draw/iml_header.h:18:10: #include expects "FILENAME" or <FILENAME>
C:/Programme/UPP/uppsrc/Draw/iml_header.h:45:10: #include expects "FILENAME" or <FILENAME>
In file included from C:/Programme/UPP/uppsrc/Draw/iml.h:9,
                 from J:\Entwicklung\UPP\prohibisZA\/prohibisZA.h:13,
                 from J:\Entwicklung\UPP\prohibisZA\mainmenu.cpp:7,
                 from C:/Programme/UPP/out/prohibisZA/MINGW.Blitz.Gui.Main\$blitz.cpp:3:
C:/Programme/UPP/uppsrc/Draw/iml_source.h:18:10: #include expects "FILENAME" or <FILENAME>
C:/Programme/UPP/uppsrc/Draw/iml_source.h:36:12: #include expects "FILENAME" or <FILENAME>
C:/Programme/UPP/uppsrc/Draw/iml_source.h:47:12: #include expects "FILENAME" or <FILENAME>
C:/Programme/UPP/uppsrc/Draw/iml_source.h:69:12: #include expects "FILENAME" or <FILENAME>
prohibisZA: 11 file(s) built in (0:05.89), 535 msecs / file, duration = 5985 msecs, parallelization 0%

There were errors. (0:07.64)


Any idea what the problem is?

Michael
 
Read Message
Read Message
Read Message
Previous Topic: runtime tray icon? Draw a number?
Next Topic: How to delete all widgets on a TopWindow?
Goto Forum:
  


Current Time: Wed Apr 24 22:05:26 CEST 2024

Total time taken to generate the page: 0.04461 seconds