May 04, 2024, 05:44:53 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Captionless Window

Started by LarryMc, January 07, 2006, 11:15:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LarryMc

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?
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Ionic Wind Support Team

In aurora the logic is the opposite.  Just don't supply the AWS_CAPTION or AWS_SYSMENU styles when you create the window.

Ionic Wind Support Team

LarryMc

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.
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Ionic Wind Support Team

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);
Ionic Wind Support Team