Re: Previous control

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

CChris wrote:
> 
> Mike777 wrote:
> > 
> > I suppose the edit boxes and combo boxes don't really have a Click event, so
> > I'm supposed to use a different event for w32HGetHandler.  
> > 
> > Any guidance would be appreciated.
> > 
> > Thanks
> > 
> > Mike
> 
> Why not simply add an w32HGotFocus event handler to all the controls you are
> interested in?
> The common handler would save in a variable you define the id of the control
> for which it is called (or stack them if you need more), and then you retrieve
> them.
> Doesn't work?

Almost.  w32HGotFocus doesn't fire when the mouse is clicked into a combobox.  I
tried w32HEvent, but then just passing the mouse over the control activates the
event procedure, undoing what I've done by clicking in the cbo.

It works for Text Boxes, Radio Buttons and Check Boxes.

Is there a substitute for w32HGotFocus that works on combo boxes?  [Yes, I've
looked but I haven't found one, yet.]

Mike

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

Search



Quick Links

User menu

Not signed in.

Misc Menu