![]() |
CXTPStatusBar not always receiving WM_LBUTTONDOWN |
Post Reply ![]() |
Author | |
trunkmonkey ![]() Newbie ![]() Joined: 18 February 2009 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |