高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】cursor funktion did not work with mfc
cursor funktion did not work with mfc?
cursor funktion did not work with mfc?
cursor funktion did not work with mfc?
i use the "dgnmfc" example source code and tuned it up with code from "dgnview" to zoom the view.
....
case wm_mousemove:
if(ldown)
{
hscrndraw->cursor(dgn_cursor_win,xfirst,yfirst,xnow,ynow); // clear old
xnow = x; ynow = y;
hscrndraw->cursor(dgn_cursor_win,xfirst,yfirst,xnow,ynow); // draw new
but the cursor funktion did not work.
there is no cross or box on the screen like it is in the "dgnview".
maybe it debends on the *.lib file we are using.
we use the dgntkmtd.lib. and the *mtd.lib libs.
in "dgnview" it works fine.
is there an example with cursor and mfc?
-jens
|