Does anyone know about WM_SETFOCUS and EN_SETFOCUS

Alexandre Julliard julliard at winehq.org
Wed Oct 1 12:25:55 CDT 2003


Bill Medland <billmedland at mercuryspeed.com> writes:

> Also see the SetFocus documentation that says it sends WM_SETFOCUS.
>
> So maybe they mean that it sends a WM_SETFOCUS unless its an edit control in 
> which case it sends EN_SETFOCUS. 

No, it sends a WM_SETFOCUS to the edit control, which in turns sends
an EN_SETFOCUS to its parent. Why doesn't this do the right thing for
you?

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list