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++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Icons
Re: Icons [message #1392 is a reply to message #1384] Thu, 02 March 2006 00:55 Go to previous messageGo to previous message
mentaltruckdriver is currently offline  mentaltruckdriver
Messages: 14
Registered: March 2006
Promising Member
OK it compiles correctly and the icon works however when I close the application it gives me the "This application has encountered a problem and needs to close..." - which never occured before I got the icon working. Here is a snippet of my code from the GUI_APP_MAIN line down:

GUI_APP_MAIN

{
     
    SetLanguage(LNG_ENGLISH);
    
    

    MyAppFs().Type("MyApp Documents", "*.wrd")

             .AllFilesType()

             .DefaultExt("wrd");

    PdfFs().Type("Portable Document Files", "*.pdf")

           .AllFilesType()

           .DefaultExt("pdf");

 

    LoadFromFile(callback(SerializeApp));
    
    MyApp app;
    app.Icon(Image::Icon(5555, true), Image::Icon(5555, false));

    Ctrl::EventLoop();

    StoreToFile(callback(SerializeApp));

}


What's happening???
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Will not create packaqge with <empty> template
Next Topic: Console Output In Linux
Goto Forum:
  


Current Time: Fri Jul 18 06:27:21 CEST 2025

Total time taken to generate the page: 0.07635 seconds