Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Status bar double-click notification
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Status bar double-click notification

 Post Reply Post Reply
Author
Message
nick42 View Drop Down
Newbie
Newbie


Joined: 22 February 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote nick42 Quote  Post ReplyReply Direct Link To This Post Topic: Status bar double-click notification
    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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.