获取行数: pCtrl-> GetItemCount(); 获取列数: pCtrl-> GetHeaderCtrl()-> GetItemCount(); 转载于:https://www.cnblogs.com/johnpher/archive/2011/03/19/2570698.html