How to get notified in the dialog when a control in a dialog lost focus?

  • Thread starter Thread starter sgrm123
  • Start date Start date
S

sgrm123

Guest
Hi,

I have a MFC dialog based application, when click on CButton I am dynamically creating and displaying a listbox.

If I click some other control and click on dialog client area I have to destroy this listbox.

But I dont know how to get notified in the dialog when listbox control in a dialog lost focus.

Or I dont know how to get notify the diaog when click on dialog client area or child controls in the dialog?

I shared my sample application in the below path.

https://aspiresysinc-my.sharepoint....xNqhm6TkNvF8cB6THPPw7i12sR71VtOw1xlA?e=ncgJ5g

Thanks in advance.

Continue reading...
 
Back
Top