自己开发一个触摸屏校准的程序。
按msdn的提示:
Call the TouchPanelEnable function to start the screen sampling.
Call the TouchPanelGetDeviceCaps function to request the number of sampling points.
For every calibration point, perform the following steps:
Call TouchPanelGetDeviceCaps to get a calibration coordinate.
Draw a crosshair at the returned coordinate.
Call the TouchPanelReadCalibrationPoint function to get calibration data.
Call the TouchPanelSetCalibration function to calculate the calibration coefficients.
这个过程已经走完,但是好像没起作用。