Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
635
Cursor over group header bar?
posted

I've looked but have been unable to find a way to change what type of cursor will appear when it's over the group header bar. Is there a way to do this? Thanks.

  • 69832
    Verified Answer
    Offline posted

    Try setting the UltraExplorerBarGroup.Settings.AppearancesSmall.HeaderHotTrackAppearance.Cursor property.

  • 635
    posted

    This might not be exactly what you're looking for, but this is what I did to find out what was clicked on, at least for the stuff that I was interested in anyway:

    var group = explorerBar.GroupFromPoint(mouseClickLocation);

    if (group != null)
    {       
         // You now know that a group was clicked on. Keep going if you want to
         // know specifically where.

         var uiElement = group.UIElement.ElementFromPoint(mouseClickLocation);

         if (uiElement as EditorWithTextDisplayTextUIElement != null)
         {
              // User clicked on the header.
         }

         var expansionButton = uiElement as ExpansionButtonUIElement;

         if (expansionButton != null)
         {
             // User clicked on expand/collapse button
         }
    }

    You can always set a breakpoint once uiElement is acquired to find out exactly what ui element was clicked on. Hope this helps.

    Re: Cursor over group header bar?
    By solomonfried in WinExplorerBar

    Don't have a solution and am looking for one.

    I have a pop-up menu to allow a user to set Group Header appearance properties (icon size...).

    I would like to know where the user clicked to get the menu so that I can set properties for the Overflow area, or the header area etc...

    Thanks