Click to See Complete Forum and Search --> : newbie gdi+ mfc interoperatability qs


igor_c
January 27th, 2005, 10:56 PM
hi,

i have recently started using gdi+.i integrated some gdi +code with existing mfc graphics code..smthg like

graphics g(hdc);
..
SetSmoothingMode(SmoothingModeAntiAlias);

and then drawing some simple curves and lines

g.drawline
g.drawcurve
....

..what happens is the first time the first draw fn(in this case drawline) takes a delay abt 500 ms..
same is the case when i try with sample proj..why does this occur??


igor_c