why sSkinProvider1ExtHitTest always msg.result = 0 ?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36168
    ii1289
    Participant

    why sSkinProvider1ExtHitTest always msg.result = 0 ??

    Code:

    //procedure TForm1.MyMsg(var msg: TWMNCHitTest);
    //begin
    //inherited;
    //if msg.Result = HTMINBUTTON then close;
    //end;

    procedure TForm1.sSkinProvider1ExtHitTest(var Msg: TWMNCHitTest);
    begin
    //sSkinProvider1.BorderForm.Ex_WMNCHitTest(Msg);
    if msg.Result = HTMINBUTTON then
    begin
    close;
    end;
    end;

    #52043
    Support
    Keymaster

    Hello

    This event is called before processing of inherited handler, so Result is not defined at this moment.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.