IonicWind Software

Aurora Compiler => GUI => Topic started by: LarryMc on January 07, 2006, 11:15:42 AM

Title: Captionless Window
Post by: LarryMc on January 07, 2006, 11:15:42 AM
In our 'other' favorite language there was a constant @nocaption value= 0x40 that allowed me to open a captionless(no header bar) window.

I can't seem to find that in the gui.inc.ÂÃ,  Am I missing something?
Title: Re: Captionless Window
Post by: Ionic Wind Support Team on January 07, 2006, 11:18:35 AM
In aurora the logic is the opposite.  Just don't supply the AWS_CAPTION or AWS_SYSMENU styles when you create the window.

Title: Re: Captionless Window
Post by: LarryMc on January 07, 2006, 11:24:33 AM
This is what I put:
QuotewinIMAGE.Create(20,40,600,480,AWS_VISIBLE,0,"",NULL);
and that gives me a blue header at the top of the window.
Title: Re: Captionless Window
Post by: Ionic Wind Support Team on January 07, 2006, 11:28:51 AM
Top level windows (non children) always have a caption (added by the OS).

But you can remove that style after creation

winImage.ModifyStyle(0,AWS_CAPTION);