Re: Unexplainable behavior

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

Mike777 wrote:
> 
> I'm posting this follow up under a new subject because I'm at my wits end on
> this and would like somebody (anybody?) to take another look to see if
> anything
> pops out.
> 
> I have a handler for a checkbox onClick event that I want to fire when the
> user
> clicks on a label to the left of the checkbox.  I would presume this is fairly
> common behaviour.

I'm gonna stop you right there. I don't presume this to be common practice at
all. You're kind of re-inventing the wheel here. If you give a CheckBox a title
when you create it, that text will appear to the right of the box, and be
click-able and trigger onClick (w32HClick) events automatically. I see no sense
in creating an additional label to receive the click events. If all you want is
to place the label on the left side of the box, just use the BS_LEFTTEXT style.

-Greg

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

Search



Quick Links

User menu

Not signed in.

Misc Menu