Nic
2010-01-02 19:39:20 UTC
For the following class:
class CPoint: public tagPOINT
{
public:
CPoint(LPARAM lParam)
{
x = GET_X_LPARAM(lParam);
y = GET_Y_LPARAM(lParam);
}
};
is it safe to use it as follows:
OnLButtonDown(&CPoint(lParam));
Thanks
Nic
class CPoint: public tagPOINT
{
public:
CPoint(LPARAM lParam)
{
x = GET_X_LPARAM(lParam);
y = GET_Y_LPARAM(lParam);
}
};
is it safe to use it as follows:
OnLButtonDown(&CPoint(lParam));
Thanks
Nic