Captionless windows.

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Captionless windows.

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:40 am

by Carl Ranson >> Thu, 15 Apr 1999 1:22:49 GMT

Hi All,

I have a problem with a window where I switch off the controlBox, minButton and maxButton and then set the caption to false.

The window that jade produces is correct except for the following problems: - It doesn't show up on the taskbar
- Its icon is visible when you press alt-Tab but it has no name.
- It minimises (done via code since min button hidden) to the bottom left corner of the desktop (like a mdi client window)

Anyone know how I can keep the caption property set but still hide the titlebar of the window?
I expect that this would fix the above problems.

What api call does Jade make to hide the title bar - guesses?

Thanks,
Carl

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Captionless windows.

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:41 am

by Kevin Alcock >> Thu, 15 Apr 1999 4:15:18 GMT

Carl,

what I have done is to actually leave the title bar on the form and position another form over the top of the title bar. Using the setFormParent method to bind them together. This way you can hide it with fancy graphics.

Kevin


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 19 guests