From http://www.mapwindow.org/phorum/read.php?3,22438
We have downloaded the last version of the mapwingis component and even downloaded the source and recompiled the ocx.
We are still experiencing the initial problem, but now we have a clearer feeling of what happen :
( lines are drawn using drawline, circle with drawcircle and label with drawlabel )
-The lines and circle are drawn correctly if there are labels on the screen (using the function addlabel).
-The points are always drawn correctly.
-The lines are not displayed if there are no labels or shapefile in the screen.
-The problem never occurs if have not loaded a layer ( using Addlayer).
-We have tried to exchange the order in the drawDrawing function between points and eclipse, it didn't change anything.
-There is data in the drawing list because replacing the function eclipse by fillSolidRect with correct parameters makes the rectangle to be drawn.
-The parameters seems correct ( in the range value positive radius etc..)
-The eclipse function doesn't send back error code when drawing.
Comments: I've added a test to the test application. It is converting a point, a line and a polygon shapefile to drawing layers. It also adds randomly a point, (wide)circle, (wide)polygon, line and label.
I see no problems. Since this issue was reported almost 4 years ago I'm closing it.
Thanks,
Paul
We have downloaded the last version of the mapwingis component and even downloaded the source and recompiled the ocx.
We are still experiencing the initial problem, but now we have a clearer feeling of what happen :
( lines are drawn using drawline, circle with drawcircle and label with drawlabel )
-The lines and circle are drawn correctly if there are labels on the screen (using the function addlabel).
-The points are always drawn correctly.
-The lines are not displayed if there are no labels or shapefile in the screen.
-The problem never occurs if have not loaded a layer ( using Addlayer).
-We have tried to exchange the order in the drawDrawing function between points and eclipse, it didn't change anything.
-There is data in the drawing list because replacing the function eclipse by fillSolidRect with correct parameters makes the rectangle to be drawn.
-The parameters seems correct ( in the range value positive radius etc..)
-The eclipse function doesn't send back error code when drawing.
Comments: I've added a test to the test application. It is converting a point, a line and a polygon shapefile to drawing layers. It also adds randomly a point, (wide)circle, (wide)polygon, line and label.
I see no problems. Since this issue was reported almost 4 years ago I'm closing it.
Thanks,
Paul