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.
Subject |
Author |
Date |
|
Paul Giblock
|
Jan 12, 2004 - 6:07 PM
|
I would like to know if there is anyway to allow Tab or Menubars to be left or right aligned while still having the text horizontal? This way the Menuitems are "listed" or the tabs are horizontal.. Thank you.
|
|
Sergiy Lavrynenko
|
Jan 14, 2004 - 4:33 AM
|
This feature will be easily implemented with Prof-UIS 2.23 freeware coming soon (in a few days). You can use the following class for placing text horizontally in a vertically docked menu bar: class CMyMenuBar : public CExtMenuControlBar
{
public:
virtual CExtBarButton * OnCreateBarCommandBtn(
UINT nCmdID,
UINT nStyle = 0
)
{
CExtBarButton * pTBB =
CExtMenuControlBar::OnCreateBarCommandBtn(
nCmdID, nStyle );
if( pTBB != NULL )
{
ASSERT_VALID( pTBB );
pTBB->SetNoRotateVerticalLayout();
} // if( pTBB != NULL )
return pTBB;
}
}; // class CMyMenuBar
|
|
Paul Giblock
|
Jan 12, 2004 - 6:09 PM
|
Also, is it possible to make a checkbox look like the ExtButtons?? I know I can set the "Push Like" Property, but it looks like a standard windows button this way Thanks
|
|
Sergiy Lavrynenko
|
Jan 14, 2004 - 4:25 AM
|
We have not implemented checked push buttons because they do not look good when the XP/2003 style is applied. But you can override the CExtButton::_RenderImpl() method and paint it in a whichever manner you want.
|
|