delphi trayicon BaloonHint中从右到左的文本
有没有办法在delphi trayicon BaloonHint中对齐文本?您需要使用自己的提示窗口delphi trayicon BaloonHint中从右到左的文本,delphi,localization,right-to-left,Delphi,Localization,Right To Left,有没有办法在delphi trayicon BaloonHint中对齐文本?您需要使用自己的提示窗口 type TRTLHint = class(THintWindow) protected procedure CreateParams(var Params: TCreateParams); override; end; procedure TRTLHint.CreateParams(var Params: TCreateParams); begin inherited;
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;
然后可以在中使用此TRTLHint