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 » Invert expand/collapse arrow buttons Collapse All
Subject Author Date
Eric Apr 1, 2011 - 1:33 PM

Hello,


Is it possible to invert the Expand/Collapse arrows buttons in a CExtPageNavigator pane? The pane is at the bottom of a window, so the arrows direction should be inverted. Here is a screenshot:


http://img846.imageshack.us/img846/397/arrowsr.png


So when the pane is collapsed, the arrow should be pointing up and when it is expanded, the arrows should be pointing down.


Thanks!

Technical Support Apr 4, 2011 - 8:44 AM

The CExtPageNavigatorWnd control displays up arrows to indicate expanded pane state and down arrows for collapsed state. This is similar to the Page Navigator control in MS Office applications. Nobody requested to change this before. So, we would like to ask you to repaint the pane captions in your project. The CExtPageNavigatorWnd::OnPageItemPaneDrawCaption() virtual method draws the pane caption. It uses the paint manager by default. You can override it and draw your custom pane captions including collapsing arrows.