CMFCPropertyGridCtrl::SetCurSel
Selects a property in a property grid control.
void SetCurSel(
CMFCPropertyGridProperty* pProp,
BOOL bRedraw=TRUE
);
Parameters
[in] pProp
A pointer to a property object.[in] bRedraw
TRUE to redraw the property grid control immediately; otherwise, FALSE. The default value is TRUE.
Remarks
Use this method to cancel the selection of the current item in the property grid control and then select the item that corresponds to the specified property.
Requirements
Header: afxpropertygridctrl.h