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 Tech Support » Chevron button on a CExtPropertyGridToolBar Collapse All
Subject Author Date
Eric Feb 15, 2011 - 9:10 AM


I’m trying to create a chevron button on a CExtPropertyGridToolBar, because we added several buttons on this toolbar and when the window is too small, some buttons dissappear. I tried calling the InitContentExpandButton() method after inserting the custom buttons in the toolbar, but the method always return false. How can I do that?

Thanks for your help!

Eric Feb 16, 2011 - 2:36 PM

Thanks for your help, it works well now.

Technical Support Feb 16, 2011 - 6:08 AM

The chevron is invisible because the CExtPropertyGridToolBar class implements the following virtual method:

CExtBarContentExpandButton * CExtPropertyGridToolBar::OnCreateBarRightBtn()
    return NULL;

Please override it and invoke the CExtToolControlBar class method.