Susan Farley <[EMAIL PROTECTED]> wrote: >This patch to combo.c selects the text in the edit control >when the control gains (or is created with) focus, and >deselects it when focus is lost. > > >log: select/deselect text in edit box on focus gain/loss Selecting/deselecting text in an edit box while receiving focus messages is a job of DefWindowProc. Actually, if the control has style DLGC_HASSETSEL DefWindowProc does its job. Try to find why DefWindowProc is not called, or why text isn't selected/deselected. Dmitry.