title: How to display hint for a disabled control?
body: <p>I have a check box which will be enabled/disabled at run time. I just want to show different tool tips if it is enabled/disabled. I was thinking about overriding OnMouseEnter event and handle it there but OnMouseEnter will be called only if the control is enabled. How can i possible achieve that behavior? Any help would be appreciated. </p>
  
  <p>I tried to handle OnMouseMove of the form and do something like this</p>
  
  <pre><code>procedure Tdlg.pnlTopMouseMove(Sender: TObject;Shift: TShiftState; X, Y: Integer);
  var
    point: TPoint;
    checkBoxCursorPos: TPoint;
  begin
    inherited;
    point.X := X;
    point.Y := Y;
    checkBoxCursorPos := chkBx.ScreenToClient(point);
    if (PtInRect(chkBx.ClientRect, checkBoxCursorPos)) then
    begin
      if(chkBx.Enabled) then
        chkBx.Hint := 'Enabled'
      else
        chkBx.Hint := 'Disabled' ;
  
      Application.ShowHint := True;
    end;
  
  end;
  </code></pre>
  
  <p>but the condition PtinRect is not satisfied. What i am doing wrong?</p>