How can I declare a standard constructor in MFC that expects a CPoint argument, e.g.
class CObj {
public:
CObj(CPoint pt = ???, float x = 10.0f, int n = 10);
...
I tried
CObj(CPoint pt = (10,10), float x = 10.0f, int n = 10);
which compiled just fine, but only pt.x got the value 10 while pt.y became 0.
Thanks, RS