Richedit - catch NM_SETFOCUS or EN_SETFOCUS message
-
Hello! Does anyone know how can I catch the SetFocus event on a richedit control? I tried with SetEventMask, I can catch mouse events, but what I need is to not allow the user to set focus on a richedit. Thanx. Enis Arif ----------- "I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." (Albert Einstein)
-
Hello! Does anyone know how can I catch the SetFocus event on a richedit control? I tried with SetEventMask, I can catch mouse events, but what I need is to not allow the user to set focus on a richedit. Thanx. Enis Arif ----------- "I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." (Albert Einstein)
just catch WM_COMMAND in parent window and check for EN_SETFOCUS. Magnus
-
just catch WM_COMMAND in parent window and check for EN_SETFOCUS. Magnus