Right to left text in delphi trayicon BaloonHint

Is there a way to align text directly in delphi trayicon BaloonHint?

0


a source to share


1 answer


You will need to use your own prompt box

type
 TRTLHint = class(THintWindow)
 protected
    procedure CreateParams(var Params: TCreateParams); override;
 end;

procedure TRTLHint.CreateParams(var Params: TCreateParams);
begin
  inherited;
  Params.ExStyle := Params.ExStyle or WS_EX_LAYOUTRTL;
end;

      



Then you can use this TRTLHint in this way .

+1


a source







All Articles