Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » How to hide captionbar(Title bar) on frame window? Collapse All
Subject Author Date
Michael chang Feb 26, 2009 - 12:41 AM

Hi.


I am using 2.82 version and want to hide(show) the caption bar dinamically in my application based on the Frame.


 


In 2.54 version, The following code works fine.


but, 2.82 is not working.


 


//////////////////////////////////////////////////////////////////////////////////////////////////////////////


int nStyle;


nStyle = GetWindowLong(hWnd, GWL_STYLE);

nStyle &= ~WS_CAPTION;

SetWindowLong(hWnd, GWL_STYLE, nStyle);


////////////////////////////////////////////////////////////////////////////////////////////////////////////////


 


thanks.

Walter Zimmerhansl Dec 29, 2010 - 12:01 AM

Hiding the caption is also very important for us!

We use that to create splash screens or kind of tooltip-windows and those mustn’t have a title bar.

Removing WS_CAPTION/WS_DLGFRAME should work for every theme.


Thanks for implementing this!


 

Michael chang Mar 4, 2009 - 1:27 AM

Thanks.


My application has a specification that named "Full Screen". It is diffrent your Full screen.


This spec. supports a full view without any UI (Toolbar, Menubar, even Title bar) and the boundary of full screen is an application.

Michael chang Feb 26, 2009 - 10:32 PM

I am using a CExtPaintManagerOffice2007_R2_Obsidian theme which is based on the skined window non client area probably.


 

Technical Support Feb 28, 2009 - 3:47 AM

The themes with skinned window non client areas currently do not support caption hiding. We can regard your message as a feature request. It would be interesting to know more details about your task. Why do you need to hide the window caption? A captionless window may confuse your users.

Michael chang Mar 4, 2009 - 1:27 AM

Thanks.


 


My application has a specification that named "Full Screen". It is diffrent your Full screen.


 


This spec. supports a full view without any UI (Toolbar, Menubar, even Title bar) and the boundary of full screen is an application.

Technical Support Mar 4, 2009 - 1:07 PM

Our implementation simply moves the main frame window into the location when its caption is outside the screen area. Most of the known to us application with the full screen mode support does the same. Why this approach is not acceptable for you?

Technical Support Mar 4, 2009 - 12:52 PM

Our implementation simply moves the main frame window into the location when its caption is outside the screen area. Most of the known to us application with the full screen mode support does the same. Why this approach is not acceptable for you?

Technical Support Feb 26, 2009 - 1:23 PM

This code should work under any Prof-UIS UI themes which are not based on the skinned window non client area. Please provide us with more details.