Ver Mensaje Individual
  #13  
Antiguo 25-03-2016
Avatar de aguml
aguml aguml is offline
Miembro
 
Registrado: may 2013
Posts: 885
Reputación: 11
aguml Va por buen camino
A mi si me lo reconoce. La funcion la tengo asi:
Código PHP:
LRESULT WINAPI MouseEvent(int nCodeWPARAM wParamLPARAM lParam)
{
   
TPoint Point;

   if(
nCode == HC_ACTION){
      
GetCursorPos(&Point);
      
ScreenToClient(Form1->Handle, &Point);
      if(
PtInRect(Form1->GetClientRect(), Point))
         return -
1;
   }
   return 
CallNextHookEx(hMouseHooknCodewParamlParam);

y me da estos errores:
Cita:
[C++ Error] Main.cpp(68): E2247 '_fastcall TCustomForm::GetClientRect()' is not accessible
[C++ Error] Main.cpp(68): E2285 Could not find a match for 'PtInRect(undefined,TPoint)'
el segundo es culpa del primero.
Responder Con Cita