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 » Docking Toolbars on the same row as the Menu Bar Collapse All
Subject Author Date
Neville Franks Dec 22, 2005 - 6:47 PM

Hi,


Is it possible to dock Toolbars on the same row as the Menu Bar? This would be a useful feature.


Merry Xmas to all, especially Sergiy and everyone at Prof-UIS. I hope that 2006 is a great year for us all.


Neville Franks, www.surfulater.com 

Technical Support Dec 23, 2005 - 11:05 AM

The CExtMenuControlBar window by default uses the full row/column mode. That is why other CExtToolControlBar window are unable to share the row/column space with the menu bar. You can use the following menu bar window which has the behavior similar to toolbars:

class CMyMenuBar : public CExtMenuControlBar
{
public:
    virtual bool _GetFullRowMode() const
    {
        ASSERT_VALID( this );
        return true;
    }
};
We wish you a Merry XMas and a really Happy New Year too.