I am so fool to realize this problem when I trying to using SelectClipPath to draw something...
BeginPath(hDC);
LineTo(hDC, 100,100);
MoveTo(hDC, 100, 100);
LineTo(hDC, 200, 200);
ClosePath(hDC);
Can the Line in the Path be called as closed path?
Of Course, Not !!!!
cause I use a MoveTo function.~~~~
Be careful with this, other wise your will not get any graphic when you use the codes below:
SelectClipPath(hDC, RGN_AND);
Good Luck!!!