How do I choose 1 row like this with code without manually clicking it in "CBCGPGridCtrl"?

235 Views Asked by At

I'm using CBCGPGridCtrl within MFC, but I don't know how to select row like this picture by code instead of manually clicking on the row using my mouse.

image link

1

There are 1 best solutions below

0
IInspectable On

You select a row by calling the CBCGPGridCtrl::SelectRow class member.