AC 15.15 AV in sComonData.CommonWndProc when

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #69432
    HeDiBo
    Participant

    If HandleDisabledCtrls is True, an AV occurs on this (reformatted for readability):

            WM_MOUSEMOVE: begin
    {$IFNDEF ALITE}
              // Trying to make hints for disabled controls
              if (Manager <> nil)                             and 
                 Manager.Active                               and 
                 Manager.HandleDisabledCtrls                  and 
                 not (csDestroying in Manager.ComponentState) and 
                 not (csDestroying in SkinData.FOwnerControl.ComponentState) then begin
    //                                         ^^^^^^^^^^^^^----> FownerControl is nil
                bDisHintShown := False;
                if SkinData.FOwnerControl is TWinControl then
    #69433
    HeDiBo
    Participant

    A bit further below there is another AV:

                if not bDisHintShown and (TAccessAlphaHints(Manager).HintTimeCtrl <> nil) and not TAccessAlphaHints(Manager).HintTimeCtrl.Enabled then // Hide hint of disabled control when MouseLeave
                  if (TAccessAlphaHints(Manager).HintTimeCtrl <> wCtrl) and 
                     wCtrl.ShowHint                                     and 
    //               ^^^^^-----> WCtrl may be nil
                     (wCtrl.Hint <> ''                                      ) then begin
                    p.X := acMousePos.X;
                    p.Y := acMousePos.Y;// + 16;
                    TAccessAlphaHints(Manager).HintTimeCtrl := wCtrl;
    #69499
    Support
    Keymaster

    Thank you, I will check it.

    #69658
    HeDiBo
    Participant

    Solved in AC 15.16 🎶
    Please close this topic

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘AC 15.15 AV in sComonData.CommonWndProc when’ is closed to new replies.