Home » U++ Library support » TabCtrl » Tabctrl and RightDown.
Re: Tabctrl and RightDown. [message #37855 is a reply to message #37854] |
Sun, 18 November 2012 21:59 |
|
koldo
Messages: 3361 Registered: August 2008
|
Senior Veteran |
|
|
Hello Witriol
Perhaps it is not the nicest way to do it but you may do something like this:
class Gun : public WithGunLayout<TopWindow> {
....
public:
....
Gun() {
mj.Init(this);
}
Kep_lay mj;
void RightMouseHandler(Point p, dword keyFlags) {
// Do it.
}
....
};
class Kep_lay : public Withkep_lay<StaticRect> {
public:
typedef Kep_lay CLASSNAME;
void Init(Gun *_parent) {parent = _parent;}
virtual void RightDown(Point p, dword keyFlags) {
parent->RightMouseHandler(p, keyFlags);
private:
Gun *parent;
};
Best regards
IƱaki
|
|
|
|
|
Tabctrl and RightDown.
By: witriol on Wed, 14 November 2012 15:32
|
|
|
Re: Tabctrl and RightDown.
By: koldo on Wed, 14 November 2012 15:50
|
|
|
Re: Tabctrl and RightDown.
By: witriol on Wed, 14 November 2012 16:41
|
|
|
Re: Tabctrl and RightDown.
By: koldo on Wed, 14 November 2012 21:11
|
|
|
Re: Tabctrl and RightDown.
By: witriol on Thu, 15 November 2012 12:28
|
|
|
Re: Tabctrl and RightDown.
By: koldo on Thu, 15 November 2012 16:07
|
|
|
Re: Tabctrl and RightDown.
By: witriol on Fri, 16 November 2012 09:57
|
|
|
Re: Tabctrl and RightDown.
By: koldo on Fri, 16 November 2012 13:40
|
|
|
Re: Tabctrl and RightDown.
By: witriol on Sun, 18 November 2012 16:59
|
|
|
Re: Tabctrl and RightDown.
By: koldo on Sun, 18 November 2012 21:59
|
Goto Forum:
Current Time: Mon May 13 02:16:03 CEST 2024
Total time taken to generate the page: 0.02550 seconds
|