Professional UI Solutions
Site Map   /  Register


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 » Hiding ControlBar caption Collapse All
Subject Author Date
Denis Konovalov Nov 20, 2007 - 9:30 AM

I need to hide CExtControlBar caption and borders, while embedded dialog is still visible, and show its when mouse hovers dialog window.
It’s possible with Prof-UIS? (When mouse leave CExtControlBar rect it’s caption and borders must be hidden)


Technical Support Nov 23, 2007 - 5:31 AM

Media player is a skinned application with a single window and it can have any funny effects applied to its main window. If you do the same with floating control bars, the popup windows without caption will have a mixed look with main frame window on the background. Besides the non client area of floating mini frame windows is small as possible.

Technical Support Nov 22, 2007 - 4:48 AM

The dialog window inside a floating bar without caption and/or borders will have inconsistent look. Could you give us an example of some existing software with similar floating dialogs? It would be extremely interesting to take a look at it?

Denis Konovalov Nov 22, 2007 - 5:51 AM

For example, Microsoft Media Player 10, has hidden caption and menu bar.
I need this feature to show user more space in main window in normal working mode. And, if user interacts with this bar then he don’t look at main window. And if user interacts with main window, he don’t interests a bar caption, embedded toolbar and other. It’s look at this bar for navigate through main window.

Provide a e-mail and i will post to you some sketches of this feature.

I understand this feature is very rarely used, but i want to realize it my application.

Technical Support Nov 20, 2007 - 11:52 AM

This feature is not supported in the Prof-UIS control bar and we think it should not be related to control bars at all. Implementation of this feature is very simple and based on handling the WM_NCMOUSEMOVE message sent to the window when the mouse is over its caption. In this case, the window should be moved/expanded to its maximum size. Then window should run a timer which checks whether mouse pointer is inside it and collapse window when it is needed.

Denis Konovalov Nov 21, 2007 - 12:51 AM

This is not what i want. this method will always show caption of control bar and expand/collapse its child on hover caption.
I want always show child dialog or one of it’s windows, and show caption of control bar only then mouse hovers this window.
I.e. user has small preview of image on main application screen (with small border without caption and other), and when he hover this preview, preview draws with caption, borders and other, so user can move and resize it. And then user leave this control, borders and caption hide again.