Cita:
Empezado por aguml
A mi si me lo reconoce. La funcion la tengo asi:
Código PHP:
LRESULT WINAPI MouseEvent(int nCode, WPARAM wParam, LPARAM lParam) { TPoint Point;
if(nCode == HC_ACTION){ GetCursorPos(&Point); ScreenToClient(Form1->Handle, &Point); if(PtInRect(Form1->GetClientRect(), Point)) return -1; } return CallNextHookEx(hMouseHook, nCode, wParam, lParam); }
y me da estos errores:
el segundo es culpa del primero.
|
¿Que Builder estas usando?
Hazlo así:
Código PHP:
if(PtInRect(Form1->ClientRect, Point))
Saludos.