http://www.devsuperpage.com/search/Articles.aspx?G=2&ArtID=135482
Is not an option.
procedure Tmain_form.FormCreate(Sender: TObject);
var
nid : TNotifyIconData;
A: array [0..78] of Char;
begin
StrPCopy(A, ParamStr(0));
with nid do
begin
cbSize := SizeOf;
Wnd := FmxHandleToHWND(self.Handle);
uID := 1;
uFlags := NIF_ICON or NIF_MESSAGE or NIF_TIP;
uCallbackMessage := 100;
hIcon := ExtractIconW(HInstance, A, 0);
StrPCopy(szTip, 'This is my icon');
end;
Shell_NotifyIcon( NIM_ADD, @nid );
end;
This is my idea, but needs refinement.
| |
Monday, 21 May 2018
System tray icon in Windows for FireMonkey app, examples
Subscribe to:
Post Comments (Atom)
zomok E-commerce system plan. Choose your online ordering system. No-risk 30 day free trial. Then USD 9/month. No credit card required.
zomok E-commerce system plan. Choose your online ordering system. No-risk 30 day free trial. Then USD 9/month. No credit card required. h...
-
Grows your business with zomok online ordering platform. Zero commission. Suitable for restaurants, kopitiam, food, groceries, pet supplie...
-
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Contro...
c ++编程代码示例
ReplyDelete在c ++编程中称为Cube的简单类