获取了控件句柄,怎么提取空间里的数据
获取了控件句柄,如何提取空间里的数据?
利用spy++ 查找窗体得到 控件句柄是 001F2262
类是 TStringGrid
问题:我如何 得到 这个控件里面的每一行数据?
------解决方案--------------------
int GetWindowText(
HWND hWnd, // handle to window or control
LPTSTR lpString, // text buffer
int nMaxCount // maximum number of characters to copy
);
利用spy++ 查找窗体得到 控件句柄是 001F2262
类是 TStringGrid
问题:我如何 得到 这个控件里面的每一行数据?
------解决方案--------------------
int GetWindowText(
HWND hWnd, // handle to window or control
LPTSTR lpString, // text buffer
int nMaxCount // maximum number of characters to copy
);