Re: PushButtons

new topic     » goto parent     » topic index » view thread      » older message » newer message

Sorry, its called super-classing

Jordah
----- Original Message -----
From: <jordah at btopenworld.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: PushButtons


>
>
> ----- Original Message -----
> From: "Derek Parnell" <ddparnell at bigpond.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Monday, February 03, 2003 6:00 AM
> Subject: Re: PushButtons
>
>
> > On Mon, 03 Feb 2003 00:45:19 -0500, Greg Haberek <g.haberek at comcast.net>
> > wrote:
> >
> > >
> > > Hi All,
> > > Do PushButtons respond to Mouse events? I need to know when a
PushButton
> > > is depressed and
> > > when it is released. I want to be able to move it around the window,
and
> > > I know I can do this
> > > with a child window. I'd rather not have to create custom buttons if I
> > > can avoid it.
> >
> > Yes they do. One gotcha though is that Left Button Up seems to be
> triggered
> > only if the pointer is moved off the button.
>
>  To prevent this effect Derek mentions. u'll have to do global subclassing
> of the button control.Doing this gives u full control to any button
control
> class in ur application ONLY.
>
> Jordah
> >
> > --
> >
> > cheers,
> > Derek Parnell
> >
> >
> > TOPICA - Start your own email discussion group. FREE!
> >
>
> ---
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>


---

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu