OnKillFocus not executing

I have a modeless dialog.  I'm trying to do some
processing when it looses focus, but the handler
(OnKillFocus) is not executing.
Why?
solomon021499Asked:
Who is Participating?
 
gatkinsoCommented:
Note that afx_msg void OnKillFocus(CWnd*) is not virtual....did you include ON_WM_KILLFOCUS in your message map?  

BTW, not being psychic makes it hard to answer your question when no code is provided   :)
0
 
BridgeCommented:
try catching the WM_ACTIVATE message instead.
0
 
mikeblasCommented:
Dialog boxes don't have keyboard focus; their controls do.

B ekiM
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.