May 03, 2024, 11:20:43 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Captionless Window

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

Previous topic - Next topic

0 Members and 2 Guests 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