To implement feature like QGIS Advanced Digitizer

Hi
QGIS Advanced Digitizer panel (CRS is in meters) has the feature whereby pressing keys ‘d’ and ‘a’ invokes input for distance and angle respectively which also can be locked for visual cues .
Could such feature be implemented inside MapWinGIS.ocx ?
can any one point me to the right parts of the ocx where such things are handled so that I can try to implement such functions. I was looking at CShapefileDrawer::DrawPolylinePath

Regards

There is the ShapeEditor Class. You can have a look at that code and enhance it like you need.
If you create a pull request we will merge your code (after reviewing).