ok so i nee help with this constructures
struct balls {
balls()
{
SetTimer(hWnd, balls.BALL_ID, 1, null);
}
int Ex;
int Ey;
UINT_PTR BALL_ID;
};
well when i set the timer im having trouble with balls.BALL_ID. the compiler thinks that balls is structure like balls something. well i want ball to have the value of the structure. like this
balls()
{
SetTimer(hWnd, balls.BALL_ID, 1, null);
}
int Ex;
int Ey;
UINT_PTR BALL_ID;
};
balls something;
now it creates the structure with something.BALL_ID instead of balls.BALL_ID. in balls() that wat it do it changes balls() to something(). any idea how to change the balls.BALL_ID to stuctureName.BALL_ID?