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 |
|
mirek
Messages: 13980 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
|
|
|
|
|
No title bar and no frame, just Image or Ctrl
By: mezise on Wed, 19 April 2006 22:28
|
|
|
Re: No title bar and no frame, just Image or Ctrl
By: mirek on Wed, 19 April 2006 22:57
|
|
|
Re: No title bar and no frame, just Image or Ctrl
By: mezise on Thu, 20 April 2006 01:03
|
|
|
Re: No title bar and no frame, just Image or Ctrl
By: mezise on Thu, 20 April 2006 02:34
|
|
|
Re: No title bar and no frame, just Image or Ctrl
By: amit on Wed, 28 November 2007 13:33
|
|
|
Re: No title bar and no frame, just Image or Ctrl
By: mirek on Thu, 29 November 2007 05:54
|
|
|
Re: No title bar and no frame, just Image or Ctrl
By: amit on Thu, 29 November 2007 13:21
|
|
|
Re: No title bar and no frame, just Image or Ctrl
By: amit on Wed, 28 November 2007 18:12
|
Goto Forum:
Current Time: Wed May 15 13:49:33 CEST 2024
Total time taken to generate the page: 0.02148 seconds
|