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 » No title bar and no frame, just Image or Ctrl
Re: No title bar and no frame, just Image or Ctrl [message #2648 is a reply to message #2647] Wed, 19 April 2006 22:57 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
mezise wrote on Wed, 19 April 2006 16:28

When I saw Ultimate++ a week ago I've just wanted to start again c++ programming. Great job!

I can't find solution to run animated HelloWorld example only with visible drawing area. Is it possible to do it in convenient way?

Michael



Like without window caption and window frame ("decorations")?

Well, one possibility is to use popup window instead of TopWindow. In fact, you can even popup the TopWindow..

GUI_APP_MAIN
{
	HelloWorld hw;
	hw.Title("Hello world example");
	hw.Text(Nvl(Join(CommandLine(), " "), "Hello world !"));
	hw.SetRect(100, 100, 500, 500);
	hw.PopUp();
	hw.Run();
}


However, I must warn you that this is quite system dependent. E.g. in X11, popup windows behave a bit differently (and quite oddly).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Previous Topic: How to force form to be resizable only in 1 direction
Next Topic: region defined windows or Rounded rectangle windows
Goto Forum:
  


Current Time: Tue Jun 25 19:59:14 CEST 2024

Total time taken to generate the page: 0.01718 seconds