![]() |
Catch WM_MBUTTONDOWN on CXTPContorlButton |
Post Reply ![]() |
Author | |
tokist ![]() Newbie ![]() Joined: 28 November 2007 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() Posted: 28 November 2007 at 10:38am |
Hi!
I was subclassed CXTPContorlButton,
I can overwrite OnLButtonDown and OnRButtonDown.
but I can't overwrite a middle button's action.
Thanks give me a hint.
|
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
You have subclass CXTPToolBar too, catch its WM_MBUTTONDOWN and pass to button.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
tokist ![]() Newbie ![]() Joined: 28 November 2007 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Thanks for your response.
but It means I have to override Toolbar, PopupBar, Dialog...
and check the hit control is my subclass to call my subclass's method.
I'll try other interface to do.
Thanks!
|
|
![]() |
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 |