GetClientRect
我 生成了一个类class CLed : public CStatic;然后自己 定义一个函数void CLed::DrawLed(CDC *pDC,int nLEDColor, int nMode, int nShape)
{
CRect rect;
GetClientRect(&rect);
}
我 在调试的时候得到了rect的值为(0,0),(12,12),请问大家这个是什么 值啊 ??获得的 是什么 啊?这个类的基类是CStatic啊?不是 对话框啊,怎么 会获得值的 大小的呢?不懂