How to know which control window got focus right now in Modal dailog using Win32 API?
<p>I am trying to do something with the Modal dialog in Win7. To do that i need to know which control window has got focus right now by using win32 api. If i could know which control is now got focus then i can send message to this window to do some specefic task.</p>

<p>Could any one suggest me how should i know which control has got focus right now using win 32??</p>
