Print Page | Close Window

Status bar double-click notification

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=12901
Printed Date: 28 February 2025 at 4:34pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Status bar double-click notification
Posted By: nick42
Subject: Status bar double-click notification
Date Posted: 11 December 2008 at 7:04pm
We recently updated from 11.3 to 12.0.2, and one of the problems this caused was that a dialog containing a XTPStatusBar is no longer getting notifications for double-click messages. The previous handler was:

    ON_NOTIFY(NM_DBLCLK, AFX_IDW_STATUS_BAR, &OnNotifyDblclkStatusBar)

This is no longer getting sent. I checked the StatusBar sample project, but there's no click or double-click handler example. Can someone point me in the direction of the replacement code which works in 12.0.2?

As an addendum, I can't be sure that this wasn't working due to some custom code which got added to my version of 11.3. I'm really just looking for the best way to make it work again, preferably without hacking the XT code.



Replies:
Posted By: Oleg
Date Posted: 12 December 2008 at 1:10am
Hello,
 
Yes, sorry CXTPStatusbar don't send NM_DBLCLK :( Please as workaround create class derived from CXTPStatusbar, add message map and catch WM_LBUTTONDBLCLK.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net