Ticket Q496633
Visible to All Users

TcxTreeView - Publish the OnMouseEnter and OnMouseLeave events

created 12 years ago

Hello,
TcxTreeView is missing the OnMouseLeave that was present in TTreeView.
Since I need this event, I catch the CM_MOUSELEAVE in the TcxTreeView->WindowProc, which seems to work fine.
Is this the correct way or are there better solutions?

Ulrich

Answers approved by DevExpress Support

created 11 years ago (modified 11 years ago)

We have implemented the functionality described in this ticket. It will be included in our next update(s).

Please check back and leave a comment to this response to let us know whether or not this solution addresses your concerns.

    created 12 years ago (modified 12 years ago)

    Hello Ulrich,
    You can define a TNotifyEvent procedure in your form class and assign it via accessor:

    Delphi
    TForm1 = class(TForm) ... procedure MouseLeaveHandler(Sender: TObject); ... type TcxTreeViewAccess = class(TcxTreeView); ... TcxTreeViewAccess(<AcxTreeView>).OnMouseLeave := MouseLeaveHandler;
      Show previous comments (1)
      DevExpress Support Team 12 years ago

        Thank you for informing us that the problem is now resolved. There should not be any problem with this approach. Moreover, we will consider the possibility of publishing this event with future versions of our controls.

        C C
        Care All fejlesztő 10 years ago

          Hello,
          Could you please publish the OnMouseLeave event for TcxImage too? It would be nice.

          DevExpress Support Team 10 years ago

            Hello,

            To process your recent post more efficiently, I created a separate ticket on your behalf: TcxImage - Publish the OnMouseLeave event. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

            Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

            Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.