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 |
|
Hyeon Soo Ryu
|
Jul 8, 2009 - 5:31 AM
|
Now I attached the CExtToolControlBar on the Top of the CExtResizableDialog if(!m_wndEmapToolBar.LoadToolBar(IDR_EMAP_TOOLBAR))
{
DWORD dwerr2 = GetLastError();
TRACE0("Failed to create toolbar\n");
return FALSE; // fail to create
} And Set Toolbar Style......( resource style value is 0x50402034 ) m_wndEmapToolBar.SetBarStyle( m_wndEmapToolBar.GetBarStyle() & ~CBRS_GRIPPER ); And I want to remove the Toolbar option tag ( at right end of the toolbar , small triangle ) that I can’t push now. So I want to remove the mark (small triangle) What Style value ( Style Option ) can I select ???? Thanks. ˆˆ
|
|
Technical Support
|
Jul 8, 2009 - 10:32 AM
|
To remove the chevron button from a toolbar, you should use a toolbar class like this: class CYourToolbar : public CExtToolControlBar
{
public:
virtual CExtBarContentExpandButton * OnCreateBarRightBtn()
{
ASSERT_VALID( this );
return NULL;
}
};
|
|