Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - CXTPStatusBar not always receiving WM_LBUTTONDOWN
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPStatusBar not always receiving WM_LBUTTONDOWN

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


Joined: 18 February 2009
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote trunkmonkey Quote  Post ReplyReply Direct Link To This Post Topic: CXTPStatusBar not always receiving WM_LBUTTONDOWN
    Posted: 18 February 2009 at 5:10pm
We're using Xtreme Toolkit Pro v.10.42(?)

I opened the StatusBar sample project that came with the toolkit, derived CMyStatusBar from CXTPStatusBar, and added the WM_LBUTTONDOWN handler. This would call CXTPStatusBar::HitTest and pop up a message box telling which pane was clicked.

For some panes it worked (like the CAnimateCtrl), but for others (like the CXTPStatusBarIconPane) the status bar doesn't receive the message. I'm just wondering if anyone has an idea as to why that is. I thought perhaps CXTPStatusBarIconPane was already handling the message, but I looked at CXTPStatusBarIconPane and its parents up to CWnd and don't see anyone already fielding it.

Thanks in advance.


Stephen


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: 19 February 2009 at 2:57am
Hi,
 
Because CXTPStatusBarIconPane is spearate window. you need override it instead.... it was reason why CXTPStatusBarIconPane  was removed in some older release.
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.047 seconds.