Jump to content

Görev Çubuğu Sağ-Tık Değiştirme


PColik
 Share

Recommended Posts

arkadaşlar ams de şu kısmı nasıl kendi isteğimizce düzeltebiliriz. biliyorum bu konu daha önce açıldı ama bulamadım. o yüzden şimdi yardımlarınızı bekliyorum.

düzenlemek istediğim yer;

[img]http://i.imgur.com/Flem0.png[/img]
Link to comment
Share on other sites

arama yaparsan çok rahat ulaşırsın.Settings>Taskbar'dan System Tray'ı işaretle.Bunu çoğaltabilirsin.

Global function'a;
[quote]
function g_OnSystemTrayMenu(X, Y)


tblMenu = {};
tblMenu[1] = {};
tblMenu[1].Text = "Sistem Başlangıcı";
tblMenu[1].ID = 4000;
tblMenu[1].Checked = false;
tblMenu[1].Enabled = true;

nTrayMenu = Application.ShowPopupMenu(X, Y, tblMenu, TPM_RIGHTALIGN, TPM_BOTTOMALIGN, true, false);
end[/quote]

Edited by pilgetir
Link to comment
Share on other sites

[quote name='pilgetir' date='27 November 2011 - 07:35 ' timestamp='1322372155' post='1119055']
arama yaparsan çok rahat ulaşırsın.Settings>Taskbar'dan System Tray'ı işaretle.Bunu çoğaltabilirsin.

Global function'a;
[/quote]

Global function neresi, birde bu kodlaı hangi evreye yazıcaz ?

Link to comment
Share on other sites

[quote name='pilgetir' date='27 November 2011 - 07:35 ' timestamp='1322372155' post='1119055']
arama yaparsan çok rahat ulaşırsın.Settings>Taskbar'dan System Tray'ı işaretle.Bunu çoğaltabilirsin.

Global function'a;

[/quote]

verdiğin kodlarda hata alıyorum;

[img]http://i.imgur.com/yHhlU.png[/img]

Link to comment
Share on other sites

Daha önce bir projemde şu kodları kullanmıştım


[spoiler]function g_OnSystemTrayMenu(X, Y)
tblMenu = {};
tblMenu[1] ={};
tblMenu[1].Text = "&Küçült";
tblMenu[1].ID = 100;
tblMenu[1].Checked = false;
tblMenu[1].Enabled = true;

tblMenu[2] ={};
tblMenu[2].Text = "&Büyüt";
tblMenu[2].ID = 200;
tblMenu[2].Checked = false;
tblMenu[2].Enabled = true;

tblMenu[3] ={};
tblMenu[3].Text = "&Tnctr";
tblMenu[3].ID = 300;
tblMenu[3].Checked = false;
tblMenu[3].Enabled = true;

tblMenu[4] ={};
tblMenu[4].Text = "&Çıkış";
tblMenu[4].ID = 400;
tblMenu[4].Checked = false;
tblMenu[4].Enabled = true;




result = Application.ShowPopupMenu(X, Y, tblMenu, TPM_RIGHTALIGN, TPM_BOTTOMALIGN, true, false);

if result == 100 then
Application.Minimize()

end
if result == 200 then
Application.Restore()
end
if result == 300 then
File.OpenURL("http://www.tnctr.com/");

end
if result == 400 then
Window.Close(Application.GetWndHandle(), CLOSEWND_SENDMESSAGE);


end
end[/spoiler]

Edited by ReaLyMaN
Link to comment
Share on other sites

  • 3 hafta sonra ...

alt menu oluşturmak için ise şu kodu ekleyebilirsin

tblMenu[1].SubMenu = tblPopUp1;


tblPopUp1 = {};
tblPopUp1[1] = {};
tblPopUp1[1].Text = "&Ekleme"
tblPopUp1[1].ID = 5001
tblPopUp1[1].Checked = false;
tblPopUp1[1].Enabled = true;

Edited by kamuran731
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...