|
From: Elias P. <eli...@ao...> - 2001-05-17 17:14:30
|
> Does any one see any errors here? It compiles fine it just doesn't
WORK!:(
> BOOL LeftRight;
> BOOL TopBottom;
>
> BOOL ClickButton(RECT szRectName)
> {
> if ((g_x > szRectName.left) && (g_x < szRectName.right))
> LeftRight = TRUE;
> else LeftRight = FALSE;
>
> if ((g_y < szRectName.top) && (g_y > szRectName.bottom))
I think you want to swap the < and > in the above line.
Elias Pschernig
|