I am working in an MFC application with CMFCPropertyGridCtrl
. We have SetCurSel()
function for selecting a required property. Is there any way to deselecting that property(exact opposite of SetCurSel()
)?
The problem is
- Having lot of groups in property grid control
- I am focusing on the on group name
- while hitting the TAB key the focus is shifting to another control (out side of Property grid control) but the the selection at the group name is not changed.
So I want to remove the selection at the group name if I hit the TAB key to go to another control.