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 Tech Support » How do I add buttons to a dialog title bar? Collapse All
Subject Author Date
Alastair Watts Sep 1, 2011 - 10:59 AM

Is it possible?

Technical Support Sep 5, 2011 - 12:20 PM

The ribbon bar can integrate with the themed window caption. But it completely removes the caption and window top border and places itself to the topmost side of the parent window. The ribbon bar emulates a window caption because it needs to put a quick access toolbar into there. This is probably not exactly what you need. Please provide us with more details about which kind of buttons you need and where exactly they should appear?

Technical Support Sep 5, 2011 - 9:41 AM

Windows can be parent to other windows such as buttons. But all the child windows are always clipped by the parent’s client area. The caption is not part of the client area and you cannot insert buttons into it. The only way to have buttons inside the caption is to emulate them. I.e. by painting button-like-shapes inside the caption and handle mouse messages to implement a button hover/click.

Alastair Watts Sep 2, 2011 - 12:26 AM

OK ... I’ve done some digging ...


If I use CExtRibbonBar, can it be themed differently from the dialog & other controls?


Can CExtRibbonPage put buttons in the title bar?