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 » U++ Widgets - General questions or Mixed problems » strange looking window
Re: strange looking window [message #9676 is a reply to message #9652] Thu, 24 May 2007 23:14 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
Novo wrote on Wed, 23 May 2007 15:51

The easiest ways to fix your problem is to call CtrlSetDefaultSkin(ChStdSkin, ChHostSkin) from one of the possible places listed below.

1) GUI_APP_MAIN;
2) A constructor of a class inherited from TopWindow;
3) A constructor of a "your_class : public your_layout<TopWindow>";

I think Mirek could put this call somewhere inside of TopWindow. That would solve all these problems with icpp files.

I hope that helps.



That would solve the problem with CtrlLib.icpp. But there is a lot of other .icpp files.

Obviuously, alternative approach would be to provide some "register" function for each .icpp file, which could be empty and call in in MAIN. But we want to be as "automatic" as possible...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with ScrollContainer...
Next Topic: Couldn't enable LLOG in X11Wnd.cpp
Goto Forum:
  


Current Time: Mon May 13 15:13:18 CEST 2024

Total time taken to generate the page: 0.01805 seconds