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++ Core » Is FrameLess() working under Linux ?
Is FrameLess() working under Linux ? [message #38879] Fri, 25 January 2013 09:30 Go to previous message
jibe is currently offline  jibe
Messages: 294
Registered: February 2007
Location: France
Experienced Member
Hi,

As said in the title, I can't get FrameLess() working under Linux. I tried this, based on Gui04 tutorial :

#include <CtrlLib/CtrlLib.h>

using namespace Upp;

struct MyAppWindow : TopWindow {
	virtual void Paint(Draw& w) {
		w.DrawRect(GetSize(), Green);
		w.DrawText(20, 20, "Hello world!", Arial(30), Magenta);
	}

	MyAppWindow() {
		FrameLess();
		Title("My application").Zoomable().Sizeable();
	}
};

GUI_APP_MAIN
{
	MyAppWindow app;
	app.SetRect(0, 0, 200, 100);
	app.FrameLess(false);
	app.Run();
}

I made several tries, calling FrameLess() at different places, with or without argument, but I have always a window with title bar...

Am I doing something wrong, or is there a problem under Linux ?
 
Read Message
Read Message
Read Message
Previous Topic: ~Link
Next Topic: Jsonize int64 surprise
Goto Forum:
  


Current Time: Sat Apr 20 06:15:04 CEST 2024

Total time taken to generate the page: 0.01652 seconds